High · 8.6 PHP packages GHSA-hg8h-557g-q8pp CVE-2025-61682 PKSA-q8ty-xz99-jhhj GHSA-jr78-w6w5-m8f8
Semantic MediaWiki: Nine Vulnerabilities Patched, Including Stored XSS and Unauthenticated Admin API Access
Semantic MediaWiki, a popular extension for storing and querying structured data in MediaWiki, has disclosed nine vulnerabilities spanning stored and reflected cross-site scripting, an open redirect, and a missing authorization flaw that lets unauthenticated users reach admin-only maintenance functions. Fixes are available in versions 7.0.0 through 7.3.0 depending on the issue.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 1mo ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 2mos ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 2mos ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 2mos ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 2mos ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 2mos ago · view ↗
- GitHub Advisory Database database 2mos ago · view ↗
- Packagist Security Advisories registry 2mos ago · view ↗
- NVD (NIST) database 2mos ago · view ↗
AI summary
Semantic MediaWiki, a widely used extension that lets MediaWiki installations store and query structured data within wiki pages, has published nine separate security advisories. The most severe involves stored cross-site scripting that can be triggered through ordinary wikitext. A separate, related issue allows unauthenticated visitors to reach administrator-only maintenance operations through an API module that lacks an authorization check. The remaining six issues are lower-severity reflected XSS and open-redirect flaws affecting query output, debug formatting, and redirect handling. Fixes have been released across versions 7.0.0 through 7.3.0; the specific fixed version depends on which issue applies to a given installation.
What happened
Nine distinct vulnerabilities were disclosed in Semantic MediaWiki. CVE-2025-61682 is a stored XSS issue in which the unsanitized value of a data attribute is inserted into the DOM as HTML, allowing script execution through wikitext (versions 3.1.0 up to but not including 7.0.0). A separate advisory, GHSA-jr78-w6w5-m8f8, describes a missing authorization check in the `smwtask` API module (`action=smwtask`): unlike the equivalent web interface at Special:SMWAdmin, which requires the `smw-admin` right, the API module performs no permission check at all, allowing unauthenticated users to retrieve internal database statistics and trigger maintenance jobs (versions 3.0.0 through 7.2.1). Six further issues, all fixed in 7.2.0, involve reflected XSS or open redirect: CVE-2026-77608 (Special:SearchByProperty parameters), CVE-2026-77606 (plain table headers on Special:Ask), CVE-2026-77607 (the `sep` table-cell separator parameter), CVE-2026-77610 (query debug output), CVE-2026-77609 (open redirect in Special:URIResolver), and CVE-2026-77616 (a forged cursor pagination token on Special:Ask, affecting versions 7.0.0 through 7.1.0 only, since the cursor feature was introduced in 7.0.0).
Technical cause
The stored XSS (CVE-2025-61682) stems from inserting the unsanitized value of a non-reserved data attribute directly into the DOM as HTML. The missing authorization issue (GHSA-jr78-w6w5-m8f8) occurs because `SMW\MediaWiki\Api\Task::execute()` performs no `smw-admin` or equivalent permission check; the module's CSRF token check does not substitute for authorization, since MediaWiki issues a fixed, public anonymous CSRF token that any unauthenticated caller can supply. This allows reachable tasks such as `table-statistics`, `duplicate-lookup`, `insert-job`, `update`, `check-query`, and `run-joblist` to be invoked without credentials. The six reflected XSS/open-redirect issues share a common pattern: user-controlled request parameters (property/value search terms, table headers, cell separators, debug output, cursor tokens, and resolved redirect titles) are emitted into HTML responses, raw strings, or redirect targets without sufficient output-context encoding or target validation, respectively bypassing MediaWiki's normal message/sanitization layer or URL validation.
Why it matters
The stored XSS (CVE-2025-61682, CVSS 8.6) is the most severe item: it can be triggered through wikitext, meaning any user able to edit a page could embed a persistent script that runs in the browser of every subsequent viewer, with confidentiality, integrity, and availability impact. The missing authorization issue (CVSS 7.3) is also significant because it requires no authentication at all and exposes internal database statistics and object-ID enumeration, and allows enqueuing maintenance jobs that can run synchronously, affecting both performance and the integrity of stored semantic data. The remaining reflected XSS and open-redirect issues (each CVSS 6.1) require user interaction, such as clicking a crafted link, and have more limited confidentiality/integrity impact, but still allow script execution or phishing redirects from a trusted wiki domain.
Who is affected
Any organization running the mediawiki/semantic-media-wiki extension is potentially affected, though the specific vulnerabilities that apply depend on the installed version. Sites on versions from 3.1.0 up to 7.0.0 are affected by the stored XSS. Sites on versions from 3.0.0 up to and including 7.2.1 are affected by the missing authorization issue. Sites on any version up to and including 7.1.0 are affected by five of the reflected XSS/open-redirect issues, while the cursor-token XSS (CVE-2026-77616) only affects versions 7.0.0 through 7.1.0.
Affected versions
CVE-2025-61682 (stored XSS): versions >= 3.1.0 and < 7.0.0, fixed in 7.0.0. GHSA-jr78-w6w5-m8f8 (missing authorization in smwtask API): versions >= 3.0.0 and <= 7.2.1, fixed in 7.3.0. CVE-2026-77608, CVE-2026-77606, CVE-2026-77607, CVE-2026-77610, CVE-2026-77609: versions <= 7.1.0, fixed in 7.2.0. CVE-2026-77616 (cursor pagination XSS): versions >= 7.0.0 and <= 7.1.0, fixed in 7.2.0.
Fixes and mitigation
A fixed version is available for every issue reported here. The stored XSS is resolved in version 7.0.0. The missing authorization in the smwtask API module is resolved in version 7.3.0; where upgrading is not immediately possible, the advisory describes a local configuration workaround to remove the smwtask API module from MediaWiki's registered API modules. The six remaining reflected XSS and open-redirect issues are all resolved in version 7.2.0.
Recommended action
Site owners running Semantic MediaWiki should upgrade to version 7.3.0, which incorporates fixes for all nine issues described here. Where an immediate upgrade is not possible, prioritize addressing the stored XSS and the unauthenticated API authorization gap first, since both can be exploited without any special privileges. If upgrading the smwtask-related issue is not immediately feasible, the advisory's documented workaround of unregistering the smwtask API module can reduce exposure in the interim.
PatchBriefing score
8.6 / 10 · High
Official CVSS: 8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
EPSS 0.0040 (26 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- mediawiki/semantic-media-wiki >= 3.1.0, < 7.0.0
- vulnerable
- mediawiki/semantic-media-wiki >=3.1.0,<7.0.0
- vulnerable
- ≥ 7.0.0
- patched
- mediawiki/semantic-media-wiki >= 3.0.0, <= 7.2.1
- vulnerable
- mediawiki/semantic-media-wiki >=3.0.0,<=7.2.1
- vulnerable
- ≥ 7.3.0
- patched
- mediawiki/semantic-media-wiki >= 7.0.0, <= 7.1.0
- vulnerable
- mediawiki/semantic-media-wiki >=7.0.0,<=7.1.0
- vulnerable
- ≥ 7.2.0
- patched
- mediawiki/semantic-media-wiki <= 7.1.0
- vulnerable
- mediawiki/semantic-media-wiki <=7.1.0
- vulnerable
- ≥ 7.2.0
- patched
- mediawiki/semantic-media-wiki <= 7.1.0
- vulnerable
- mediawiki/semantic-media-wiki <=7.1.0
- vulnerable
- ≥ 7.2.0
- patched
- mediawiki/semantic-media-wiki <= 7.1.0
- vulnerable
- mediawiki/semantic-media-wiki <=7.1.0
- vulnerable
- ≥ 7.2.0
- patched
- mediawiki/semantic-media-wiki <= 7.1.0
- vulnerable
- mediawiki/semantic-media-wiki <=7.1.0
- vulnerable
- ≥ 7.2.0
- patched
- mediawiki/semantic-media-wiki <= 7.1.0
- vulnerable
- mediawiki/semantic-media-wiki <=7.1.0
- vulnerable
- ≥ 7.2.0
- patched
Reported fixes
A fixed version is available for every issue reported here. The stored XSS is resolved in version 7.0.0. The missing authorization in the smwtask API module is resolved in version 7.3.0; where upgrading is not immediately possible, the advisory describes a local configuration workaround to remove the smwtask API module from MediaWiki's registered API modules. The six remaining reflected XSS and open-redirect issues are all resolved in version 7.2.0.
How this was built
23 source records were collected, matched and used to prepare the report above.
-
GitHub Advisory Database database
-
Packagist Security Advisories registry
-
NVD (NIST) database
-
GitHub Advisory Database database
-
Packagist Security Advisories registry
-
GitHub Advisory Database database
Revision history
- Generated
- Published
- Generated