BuzzPHP
LightDarkSystem

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?

PackageAffected versionsFixed in
mediawiki/semantic-media-wiki (opens in a new tab)>= 3.0.0, <= 7.2.17.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 audit

Advisory details

SeverityHighCVSS 7.3
Published
Updated
GHSAGHSA-jr78-w6w5-m8f8 (opens in a new tab)
WeaknessCWE-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

All Composer security advisories