Skip to main content

Semantic MediaWiki CVE-2026-126559

| EUVDEUVD-2026-123074 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-76rx-vmjx-f4fq
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain smw-schemaedit/curator account
  2. Delivery
    Craft profile key with embedded script
  3. Exploit
    Save FACETEDSEARCH_PROFILE_SCHEMA page
  4. Install
    Payload stored in option markup
  5. C2
    Admin opens Special:FacetedSearch
  6. Execute
    Script runs in admin session
  7. Impact
    Escalate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SemanticMediaWiki 4.2.0 <7.4.1

Affected Packages

euvd semanticmediawiki fix: 7.4.1

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

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
most popular semantic MediaWiki extension, but niche overall deployment footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-61682 HIGH POC
8.6 Sep 18

Stored cross-site scripting in Semantic MediaWiki 3.1.0 through 6.x lets users with the MediaWiki 'edit' right inject ar

CVE-2026-77616 MEDIUM POC
6.1 Sep 18

Reflected cross-site scripting in Semantic MediaWiki 7.0.0 through 7.1.0 lets an unauthenticated attacker execute arbitr

CVE-2026-77610 MEDIUM POC
6.1 Sep 18

Reflected cross-site scripting in Semantic MediaWiki 7.1.0 and earlier lets an unauthenticated remote attacker inject ar

CVE-2026-116871 HIGH
8.7 Oct 27

Unauthenticated CPU and memory exhaustion in Semantic MediaWiki 3.0.0 up to (but not including) 7.3.1 allows remote atta

CVE-2026-116878 HIGH
8.7 Oct 27

Semantic MediaWiki before 7.3.1 exposes Special:PropertyLabelSimilarity without an administrator restriction, and a call

CVE-2026-116872 HIGH
8.7 Oct 27

Quadratic CPU consumption in Semantic MediaWiki's term parser gives unauthenticated visitors a way to tie up PHP search

CVE-2026-116877 HIGH
8.7 Oct 27

Semantic MediaWiki 2.5.0 through 7.3.0 lets an editor with ordinary page-edit permission exhaust server CPU, memory and

CVE-2026-116876 HIGH
7.1 Oct 27

Semantic MediaWiki 2.5.0 through 7.3.1-alpha applies annotation-driven page protection without any authorization check,

CVE-2026-116880 HIGH
7.1 Oct 27

Cross-site request forgery in Semantic MediaWiki's Special:SMWAdmin page allows an attacker to drive destructive mainten

CVE-2026-116879 MEDIUM
6.9 Oct 27

Semantic MediaWiki 7.3.0 through 7.3.1-alpha fails to authorize the target page in its smwtask update task, letting a ca

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy