Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain smw-schemaedit permission
-
DeliverySave HTML in schema description
-
ExploitStored unescaped via Html::rawElement()
-
ExecutionVictim loads schema page
-
ImpactInjected markup renders / XSS in viewer browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold the smw-schemaedit permission or an equivalent trusted schema-editing role, and a victim user must subsequently view the affected schema page (UI:P). A further limiting factor is that the flaw is confirmed only as stored raw-HTML insertion; escalation to active cross-site scripting additionally requires the deployment to permit an executable HTML context, which the advisory does not claim holds for every deployment. These conditions - a privileged trusted editor, required victim interaction, and deployment-dependent script execution - constrain realistic risk well below an unauthenticated default-config scenario. |
| Impact | This is a moderate-severity stored XSS (CVSS 4.0 base 4.8, Medium) whose real-world risk is tempered by its access requirements. The vector (AV:N/AC:L/AT:N/PR:H/UI:P) shows network reach and low complexity but requires high privileges - the attacker must already hold the smw-schemaedit permission, a trusted schema-editing role - and a victim must view the affected schema page. No EPSS score is provided and the CVE is not on CISA KEV, so there is no signal of widespread or automated exploitation; the vuln.today decision label is 'this_month,' not act_now or emergency, consistent with a privilege-gated, interaction-dependent issue rather than a mass-exploitable flaw. A safe, inert proof of concept is published in the GHSA advisory that confirms raw HTML insertion, but it intentionally does not execute JavaScript, so active script execution depends on the deployment permitting an executable HTML context. On balance this is a real but bounded insider/trusted-editor risk, not a high-urgency internet-wide threat. Note a data conflict to verify: the GHSA source-code assessment states 'no patched release is known from the checked history,' while the multi-source patch field, EUVD (<7.3.1), and composer package data all indicate a fix in 7.3.1 - the advisory's scope was explicitly limited and did not assess releases after 7.3.1-alpha, so confirm the fixed version with the vendor. |
| Exploit ScenarioDerived | A user holding the smw-schemaedit permission saves a schema whose description field contains HTML; the value is copied by SchemaContentFormatter::schema_summary() and passed unescaped to Html::rawElement() in HtmlBuilder, so it is stored as raw paragraph markup. When another user later views that schema page, the attacker-controlled markup renders in their browser, and where the deployment permits an executable HTML context this becomes cross-site scripting against the viewer. A safe PoC in the GHSA advisory confirms the raw-HTML insertion (observed 'POC-PASS' for an inert marker) but does not itself execute JavaScript. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 28, 2026
Stored cross-site scripting in Semantic MediaWiki versions from 3.1.0 before 7.3.1 lets an authenticated user with the smw-schemaedit permission or an equivalent trusted schema-editing role save HTML in a schema description that is rendered unescaped when another user views the schema page. The confirmed issue is raw HTML insertion that can alter pages and target viewers; escalation to active script execution depends on the deployment permitting an executable HTML context, and a victim must interact by viewing the affected schema. A safe proof-of-concept marker demonstrates the insertion but is not verified as working exploit code, and no active exploitation is reported; the CVSS 4.0 base score is 4.8 (Medium).
RemediationAI
Vendor patch status is available and package metadata lists 7.3.1 as the fixed release, so upgrade Semantic MediaWiki to 7.3.1. The upstream advisory remediation is to escape the schema description at the final sink with a text renderer such as Html::element(); if rich text is required, apply an explicit allowlist sanitizer and add regression tests for the HTML marker and for disallowed active content. Until upgrading, limit smw-schemaedit or equivalent schema-editing roles to trusted editors because that permission is the prerequisite for storing the malicious description, and review existing schema descriptions for raw HTML. Advisory: https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-2xr9-cr6h-wr6m. The GH advisory's checked history states that no patched release was known at the time of that review, while the supplied vendor and package patch data identify 7.3.1, so verify the 7.3.1 release before deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Semantic MediaWiki is a MediaWiki extension that stores schema definitions as JSON; the affected path begins with the description field accepted by data/schema/link-format-schema.v1.json, is copied by SchemaContentFormatter::schema_summary() in src/MediaWiki/Content/SchemaContentFormatter.php, and is passed to Html::rawElement() in src/MediaWiki/Content/HtmlBuilder.php. This is CWE-79 improper neutralization of input during web page generation, stored variant: the description is emitted as raw paragraph content instead of escaped text, so a schema editor controls markup rendered to other users. The advisory confirms raw HTML insertion and states that it can become cross-site scripting where the deployment permits an executable HTML context; it does not claim that every deployment allows an active script payload. The supplied CPE is cpe:2.3:a:semanticmediawiki:semanticmediawiki:*:*:*:*:*:*:*:*, and the composer package is composer/mediawiki/semantic-media-wiki, vulnerable from 3.1.0 before 7.3.1.
Know when Mediawiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Requires the trusted smw-schemaedit role (PR:H) and a victim viewing the page (UI:R); stored XSS crosses into the viewer's context (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Semantic MediaWiki from 3.1.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows authenticated schema editors to inject HTML through schema descriptions. Attackers with the smw-schemaedit permission can save HTML that is passed unescaped to Html::rawElement() in HtmlBuilder, altering pages and targeting users who view the schema.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
EUVD-2026-110711
GHSA-8v49-wg82-6ffh
NVD
CVE.org
EPSS
Exploit-DB