Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain profile/schema editor rights
-
DeliveryStore HTML in exploration-link label
-
ExploitVictim opens Special:FacetedSearch page
-
ExecutionUnescaped label rendered as raw anchor
-
ImpactMarkup alters UI or runs script
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 an authenticated account holding the permission to edit the FacetedSearch profile or its backing schema (profile or schema editor); the malicious label is stored at data/schema/facetedsearch-profile-schema.v1.json and surfaced via Profile::get(). Triggering is passive but still requires a victim to open the corresponding Special:FacetedSearch exploration list (UI:P). A further critical limiter per the vendor: the injected markup only reaches JavaScript execution where the specific deployment permits an executable HTML context - otherwise the impact is limited to editor-controlled UI alteration/defacement. These prerequisites (privileged editor role plus victim page visit plus permissive HTML context) narrow realistic exploitation well below what the CWE-79 label alone suggests. |
| Impact | This is a genuinely low-to-moderate priority issue despite the CWE-79 label, and the signals are consistent rather than conflicting. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P) scores only 4.8 (Medium) and correctly reflects two strong limiting factors: the attacker must already hold a privileged role (PR:H - profile or schema editor permission) and a victim must actively open the Special:FacetedSearch page (UI:P/Passive). SSVC reinforces low urgency: Exploitation=none (no observed exploitation), Automatable=no, and Technical Impact=partial. The vuln.today decision label is 'this_month', not act_now or emergency. It is not in CISA KEV, so this is not actively exploited. No EPSS score was provided in the input, so probabilistic exploitation likelihood could not be weighed - this is a data gap, not a signal of either high or low risk. A PoC exists but, per the advisory, it is a deliberately inert marker that does NOT execute JavaScript; actual script execution is explicitly conditional on the deployment permitting an executable HTML context, so the realistic worst case for many installs is UI defacement rather than full XSS. The requirement for an already-trusted editor account substantially narrows the practical attacker population to insiders or compromised privileged accounts. |
| Exploit ScenarioDerived | A user who already holds profile or schema editor permissions on a Semantic MediaWiki wiki stores HTML markup in a FacetedSearch exploration-link label, which ExploreListBuilder::buildHTML() passes unescaped to Html::rawElement(). When another user later opens the Special:FacetedSearch page, the attacker-controlled markup is rendered as raw anchor content, altering the page and, where the deployment permits an executable HTML context, running script in the viewer's browser. A public PoC reference exists but it is an inert marker that does not execute JavaScript, so it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 28, 2026
Stored HTML injection leading to cross-site scripting in Semantic MediaWiki 4.2.0 through 7.3.0 lets an authenticated profile or schema editor plant markup in a FacetedSearch exploration-link label, which ExploreListBuilder::buildHTML() passes unescaped into Html::rawElement() so the content renders as raw anchor markup on Special:FacetedSearch for anyone who opens that exploration list. The prerequisites are narrow: the attacker needs a privileged editor role (PR:H in both the CVE 4.0 and the assessor's CVSS 3.1 vector), the victim must open the affected exploration list (UI:P / UI:R), and per the vendor the injected markup only becomes script-capable where a specific deployment permits an executable HTML context - otherwise the realistic impact is editor-controlled UI alteration or defacement. Vendor patch 7.3.1 is available and there is no confirmed active exploitation (SSVC exploitation: none, not in CISA KEV); the advisory ships only an inert proof-of-concept marker, so a public PoC reference exists but it is not verified as working exploit code, and the issue is prioritized as this_month.
RemediationAI
Upgrade Semantic MediaWiki to 7.3.1 (vendor-released patch; the composer package mediawiki/semantic-media-wiki is fixed in 7.3.1), which resolves the unescaped label sink in ExploreListBuilder::buildHTML(), and see the vendor advisory at https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-3r5m-693w-jm33 for the release detail. If the upgrade cannot be applied immediately (priority label this_month), the vendor's stated code-level remediation is to escape exploration labels as text at the final HTML sink - or sanitize them through a narrowly defined allowlist if label formatting is an intentional feature - and to add regression tests covering the injected marker and disallowed active content; the trade-off is that an escaping-only fix strips any intentional formatting from labels, while an allowlist requires ongoing maintenance to avoid re-introducing an active-content bypass. Operationally, restrict the permission to edit the FacetedSearch profile and its backing schema to a small set of trusted editors, since that role is the sole injection path, and review existing profile schemas for exploration-link labels containing markup, accepting that this only limits the attacker population rather than removing the sink. Where the wiki deployment does not permit an executable HTML context, the injected markup is confined to UI alteration, so keeping raw/executable HTML disabled in the wiki configuration limits the blast radius while the patch is staged.
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 adds structured, queryable semantic data to wiki pages; its FacetedSearch special page builds faceted exploration links from a profile/schema definition. The profile schema (data/schema/facetedsearch-profile-schema.v1.json, lines 445-463) accepts the exploration-link label as an arbitrary string, Profile::get() (src/MediaWiki/Specials/FacetedSearch/Profile.php, lines 80-85) returns that stored value unchanged, and ExploreListBuilder::buildHTML() (src/MediaWiki/Specials/FacetedSearch/ExploreListBuilder.php, lines 56-65) passes $link['label'] directly into Html::rawElement() as raw anchor content. This is CWE-79 (improper neutralization of input during web page generation) caused by a missing output-encoding step at the final HTML sink rather than by an input-validation gap: the stored label is trusted because it originates from a schema editor, but it is re-rendered for every viewer of the exploration list. Because the sink is raw element content, any HTML in the label is parsed as markup; conversion to executable script depends on whether the deployment allows an executable HTML context (for example, raw HTML handling in the surrounding wiki), which the vendor explicitly frames as deployment-dependent. The vendor's confirmed-affected scope is the 7.3.0 tag and 7.3.1-alpha at revision 61805acbab50e2ffd4f75ebbb23ee9695c191fb8, with earlier and later releases left unassessed by them; EUVD and the packet data place the affected range at 4.2.0 through 7.3.0 with 7.3.1 as the fixed release. The correct code-level fix is to escape exploration labels as plain text at the final sink, or sanitize them with a narrowly scoped allowlist if formatting is intended, plus regression tests for injected markers and disallowed active content.
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
Stored XSS requiring privileged profile/schema editor rights (PR:H) and a victim opening the page (UI:R); script runs in the victim's browser across a trust boundary (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 4.2.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows authenticated profile or schema editors to inject HTML through FacetedSearch exploration-link labels. Attackers can store markup in the label, which ExploreListBuilder::buildHTML() passes unescaped to Html::rawElement(), altering the Special:FacetedSearch page and potentially running scripts in viewers' browsers.
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-110710
GHSA-vffw-jhh9-h949
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB