Semantic MediaWiki'a missing authorization in the smwtask API module allows unauthenticated access to admin-only maintenance tasks
High severity. Published 18 September 2026. Update mediawiki/semantic-media-wiki to 7.3.0 or later: composer update mediawiki/semantic-media-wiki.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| mediawiki/semantic-media-wiki (opens in a new tab) | >= 3.0.0, <= 7.2.1 | 7.3.0 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show mediawiki/semantic-media-wiki
composer auditAdvisory details
| Severity | HighCVSS 7.3 |
|---|---|
| Published | |
| Updated | |
| GHSA | GHSA-jr78-w6w5-m8f8 (opens in a new tab) |
| Weakness | CWE-862 |
What the advisory says
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.
Source: GHSA-jr78-w6w5-m8f8 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- Semantic MediaWiki has a query debug output XSS (`DebugFormatter`) (opens in a new tab) (medium, 18 September 2026)
- Semantic MediaWiki has an open redirect in Special:URIResolver (opens in a new tab) (medium, 18 September 2026)
- Semantic MediaWiki vulnerable to stored XSS through wikitext via improper use of non-reserved data attributes (high, 18 September 2026)
- Semantic MediaWiki affected by reflected XSS in `Special:Ask` via a forged cursor pagination token (opens in a new tab) (medium, 18 September 2026)
- Semantic MediaWiki's Special:FacetedSearch cstate hidden inputs enable reflected XSS (residual of CVE-2025-10354) (opens in a new tab) (medium, 18 September 2026)