Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain smw-schemaedit/curator account
-
DeliveryCraft profile key with embedded script
-
ExploitSave FACETEDSEARCH_PROFILE_SCHEMA page
-
InstallPayload stored in option markup
-
C2Admin opens Special:FacetedSearch
-
ExecuteScript runs in admin session
-
ImpactEscalate via UserRights/Common.js
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 smw-schemaedit right (the default smwcurator group, which is intentionally separate from sysop and editinterface), on a Semantic MediaWiki install between 4.2.0 and before 7.4.1 that exposes Special:FacetedSearch. The attacker saves a FACETEDSEARCH_PROFILE_SCHEMA schema page whose profile key (or label fallback) contains markup; the real validation schema (facetedsearch-profile-schema.v1.json) accepts it because its '^[^\s]*_profile' pattern is unanchored and only rejects whitespace, permitting <, >, ' and /. The stored payload fires only when a victim actually loads Special:FacetedSearch (passive interaction), including the empty landing page. Limiting factors: the required privileged curator account, and that unprivileged or anonymous users cannot plant the payload - only trigger it. |
| Impact | This is a moderate-severity, authenticated stored XSS (CWE-79) whose real-world risk hinges on an insider/compromised-curator threat model rather than mass exploitation. The provided CVSS 4.0 vector (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, score 4.8) confirms a network vector with low complexity but high privileges (PR:H) and passive user interaction (UI:P), which correctly caps the base score in the medium range. The key escalation nuance is that PR:H here means the smw-schemaedit right (default smwcurator group), which the vendor deliberately separates from sysop/editinterface - so a low-trust curator can achieve script execution in administrator sessions, a genuine privilege-boundary crossing. No EPSS score is provided and the CVE is NOT in CISA KEV, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_month' (not act_now/emergency). A detailed, working proof-of-concept reproduction is published in the GHSA advisory, which raises practical risk above a purely theoretical finding, but the subset of required privilege plus the niche affected surface keeps this a targeted-insider concern rather than an internet-wide emergency. Net: a real priority for any SMW site that delegates schema editing to semi-trusted curators, but not a drop-everything issue for most operators. |
| Exploit ScenarioDerived | A user in the smwcurator group (holding smw-schemaedit but not admin rights) saves a FACETEDSEARCH_PROFILE_SCHEMA page whose profile key contains markup such as x'></select><svg/onload=alert(document.domain)>_profile, which OptionsBuilder::profiles() interpolates raw into the <option> element. The payload then executes in the browser of every Special:FacetedSearch visitor, including an administrator, whose session can be abused to grant rights via Special:UserRights or edit MediaWiki:Common.js. A full working PoC is published in the GHSA advisory, and because the attack vector is network with low complexity and only passive victim interaction (visiting the page), reliable exploitation is straightforward once curator access is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Stored cross-site scripting in Semantic MediaWiki's Special:FacetedSearch page lets a user holding the smw-schemaedit right (granted by default to the smwcurator group, deliberately separate from sysop and editinterface) plant markup in a FACETEDSEARCH_PROFILE_SCHEMA profile key that executes in the browser of every visitor, administrators included, whenever they open the special page. The vulnerability affects the packaged range 4.2.0 up to but not including 7.4.1 and is an authenticated, low-privilege-to-admin privilege jump rather than an anonymous attack: the curator can store the payload but only a victim's page load actually fires it. A public proof-of-concept reference exists, including reproduction steps in the vendor advisory; no confirmed active exploitation is reported in the available sources. Severity is moderate (vendor CVSS 4.0 base 4.8; independently assessed CVSS 3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N), with the vendor's own priority decision placing remediation in the current month rather than as an emergency.
RemediationAI
Vendor-released patch: upgrade to Semantic MediaWiki 7.4.1 (https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1), which contains commit 92999fc0de74324aaa35bfd3676cd4d145d2ac06 replacing the string interpolation in OptionsBuilder::profiles() - and in the sibling size(), order() and format() builders - with Html::element() escaping, plus regression tests. Per the vendor advisory, updating is the complete fix, and installs that cannot move immediately should be treated as mitigated only by reducing who can reach the sink: audit and, where feasible, remove the smw-schemaedit right from the default smwcurator group or from any non-administrator group, since a holder of that right can store the payload and thereby obtain script execution in administrator sessions that open Special:FacetedSearch; this does not fix the escaping bug and leaves existing malicious FACETEDSEARCH_PROFILE_SCHEMA pages dangerous, so previously saved schema pages with markup in profile keys should be reviewed and removed. Blocking or restricting access to Special:FacetedSearch reduces exposure only for users who cannot reach the page and does not protect administrators who legitimately use it. Apply the patched release rather than relying on those compensating controls.
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
The root cause is CWE-79 arising from string-concatenation HTML generation in OptionsBuilder::profiles() in src/MediaWiki/Specials/FacetedSearch/OptionsBuilder.php, which assembles each profile entry as "<option value='$key'$opt>$val</option>" without escaping the key or the fallback label. The key comes from Profile.php, which strips the '_profile' suffix from a schema page's associated-section name and stores the remainder verbatim as the profileList key. Because the validator schema data/schema/facetedsearch-profile-schema.v1.json uses an unanchored pattern "^[^\s]*_profile" that only rejects whitespace, characters such as <, >, ', and / pass validation, so a curator can close the value attribute and the select element and inject an element such as <svg onload=...>. SchemaFinder.php merges every page whose _SCHEMA_TYPE is FACETEDSEARCH_PROFILE_SCHEMA into the profile list, and the resulting fragment is injected into templates/FacetedSearch/search.mustache through the unescaped triple-brace {{{profile-options}}} placeholder rendered on both the populated view (HtmlBuilder::buildHTML) and the empty landing page (buildEmptyHTML), so the payload fires on any visit to Special:FacetedSearch. The same unsafe interpolation pattern existed in the sibling size(), order(), and format() option builders. The vendor fix, commit 92999fc0de74324aaa35bfd3676cd4d145d2ac06, introduces a private option() helper that builds each element with Html::element('option', ...) so values and labels are escaped, adds regression tests asserting that '</select><svg' is escaped to entities and that only the current profile is marked selected, and the advisory additionally recommends tightening the schema key pattern to something like "^[A-Za-z0-9_-]+_profile$". The flaw is the same class as previously accepted FacetedSearch advisories GHSA-3r5m-693w-jm33 (exploration labels), GHSA-fp94-c5vh-cmhp and GHSA-2xr9-cr6h-wr6m (schema-field XSS), but with a different sink: the earlier GHSA-3r5m fix (98d34856f) escaped only ExploreListBuilder labels and left OptionsBuilder::profiles() untouched.
Know when Semanticmediawiki 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
Network-reachable schema edit needs the smw-schemaedit privilege (PR:H), victim must view the page (UI:R), and the injected script runs in other users' sessions (S:C) with limited C/I impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Semantic MediaWiki 4.2.0 before 7.4.1 contains a stored cross-site scripting vulnerability in OptionsBuilder::profiles() that allows users with the smw-schemaedit right to inject markup. Attackers can save FACETEDSEARCH_PROFILE_SCHEMA profile keys or labels that break out of option elements, executing scripts for every Special:FacetedSearch visitor including administrators.
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.
Related Vulnerabilities in Semantic MediaWiki XSS and Authorization Flaws
View all 9More in Semanticmediawiki
View allStored cross-site scripting in Semantic MediaWiki 3.1.0 through 6.x lets users with the MediaWiki 'edit' right inject ar
Reflected cross-site scripting in Semantic MediaWiki 7.0.0 through 7.1.0 lets an unauthenticated attacker execute arbitr
Reflected cross-site scripting in Semantic MediaWiki 7.1.0 and earlier lets an unauthenticated remote attacker inject ar
Unauthenticated CPU and memory exhaustion in Semantic MediaWiki 3.0.0 up to (but not including) 7.3.1 allows remote atta
Semantic MediaWiki before 7.3.1 exposes Special:PropertyLabelSimilarity without an administrator restriction, and a call
Quadratic CPU consumption in Semantic MediaWiki's term parser gives unauthenticated visitors a way to tie up PHP search
Semantic MediaWiki 2.5.0 through 7.3.0 lets an editor with ordinary page-edit permission exhaust server CPU, memory and
Semantic MediaWiki 2.5.0 through 7.3.1-alpha applies annotation-driven page protection without any authorization check,
Cross-site request forgery in Semantic MediaWiki's Special:SMWAdmin page allows an attacker to drive destructive mainten
Semantic MediaWiki 7.3.0 through 7.3.1-alpha fails to authorize the target page in its smwtask update task, letting a ca
EUVD-2026-123074
GHSA-76rx-vmjx-f4fq
NVD
CVE.org
EPSS
VulDB
Exploit-DB