# Semantic MediaWiki'a missing authorization in the smwtask API module allows unauthenticated access to admin-only maintenance tasks

High severity, published 2026-09-18. Update mediawiki/semantic-media-wiki to 7.3.0 or later: composer update mediawiki/semantic-media-wiki.

Canonical URL: https://buzzphp.com/security/ghsa-jr78-w6w5-m8f8 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.3) |
| Published | 2026-09-18 |
| Updated | 2026-09-18 |
| GHSA | [GHSA-jr78-w6w5-m8f8](https://github.com/advisories/GHSA-jr78-w6w5-m8f8) |
| Weakness | CWE-862 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| mediawiki/semantic-media-wiki | >= 3.0.0, <= 7.2.1 | 7.3.0 |

## What to do

Update mediawiki/semantic-media-wiki to 7.3.0 or later: composer update mediawiki/semantic-media-wiki.

Check which version you run with `composer show mediawiki/semantic-media-wiki`, and every affected package with `composer audit`.

## About this advisory

Summary

The api.php?action=smwtask API module performs no authorization check. The equivalent maintenance interface in the web UI (Special:SMWAdmin) requires the smw-admin right, but the API module that backs several of the same operations enforces nothing. An unauthenticated visitor can therefore retrieve internal Semantic MediaWiki database statistics and reach state-changing maintenance operations that are intended to be administrator-only.

Details

SMW\MediaWiki\Api\Task::execute() (src/MediaWiki/Api/Task.php) reads the request parameters, resolves a task through TaskFactory, and runs it. It contains no permission check — no smw-admin, no checkUserRightsAny(), no per-task right.



## Links

- [GHSA-jr78-w6w5-m8f8 on GitHub](https://github.com/advisories/GHSA-jr78-w6w5-m8f8)
- [All Composer security advisories](https://buzzphp.com/security)
