Skip to main content

Semantic MediaWiki EUVDEUVD-2026-123082

| CVE-2026-126567 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-jq55-8pqw-g267
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain editor account on ElasticStore wiki
  2. Delivery
    Store XSS payload in Text property or subobject name
  3. Exploit
    Send victim crafted Special:Ask link (native_result/score_set)
  4. Execution
    Victim opens link, unescaped output renders
  5. Persist
    Script executes in victim session
  6. Impact
    Abuse admin CSRF token to alter rights or site JS/CSS

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 all of: (1) the wiki is configured with the ElasticStore backend ($smwgDefaultStore = 'SMW\Elastic\ElasticStore'), which is a supported but non-default setting; (2) the attacker holds an account with the 'edit' right to store the payload in a Text property ({{#set: Has text=<img src=x onerror=...>}}) or in a subobject name ({{#subobject:<svg onload=...>|...}}), noting the payload must avoid characters the sort normalizer strips ([, ], /) or that the subobject name forbids (=, space, leading dot in first five chars); and (3) a victim must open a crafted Special:Ask link carrying native_result=1 or score_set=1 (the latter also needs sort=es.score). Limiting factors: the ElasticStore precondition, the authenticated editor requirement, and the required victim interaction all narrow realistic exposure below the raw network-vector reading. The only complete fix per the vendor is updating to 7.4.1, which escapes the sinks and gates these debug flags behind the smw-admin right.

Impact

This is a stored cross-site scripting flaw (CWE-79) rated moderate, and the signals are internally consistent rather than conflicting. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N) shows a network-reachable but authenticated (PR:L - an account with edit rights) issue that depends on victim interaction (UI:P - opening a crafted link), which matches the detailed GHSA advisory. There is no CISA KEV entry and no EPSS score in the input, so exploitation status is 'no public exploit identified at time of analysis' in the KEV sense; however the GHSA advisory ships concrete reproduction steps and PoC scripts, so a public PoC reference exists but it is not verified as a packaged working exploit. The vuln.today decision label is 'this_month' (not act_now/emergency), and a vendor patch is available (fixed in 7.4.1), so this is a plan-and-patch priority rather than an emergency. Two material gatekeepers hold real-world risk down: exploitation only works on wikis configured with the non-default ElasticStore backend ($smwgDefaultStore = 'SMW\Elastic\ElasticStore'), and it requires an attacker who already holds edit rights plus a victim who clicks the crafted link. The upside for an attacker is significant where conditions are met - scripting in an administrator's session can abuse CSRF tokens to change user rights or edit site JS/CSS - but the ElasticStore precondition means this is targeted rather than broadly automatable.

Exploit ScenarioDerived

On a wiki running the ElasticStore backend, a low-privileged editor stores a payload such as <img src=x onerror=...> in a Text property (via {{#set:}}) or as a subobject name, which Elasticsearch returns verbatim in sort/hit values. The attacker then sends an administrator or other user a crafted Special:Ask link containing native_result=1 (or score_set=1), and when the victim opens it the stored markup renders unescaped inside the debug output and executes in the victim's wiki-origin session. A detailed proof-of-concept with reproduction steps and mechanism-check scripts is published in the GHSA advisory, though not verified here as a packaged working exploit.

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 3.0.0 through 7.4.0 lets any account holding the 'edit' right plant markup in a Text-typed property or in a subobject name, which is then echoed unescaped by Special:Ask when the wiki runs the ElasticStore backend. A victim - administrators included - who opens a crafted Special:Ask link carrying native_result=1 or score_set=1 executes the editor's JavaScript in the wiki origin, allowing the script to act with the victim's session (for example using the victim's CSRF token to edit pages, change user rights or alter site JS/CSS). Exposure requires the non-default ElasticStore configuration and victim interaction; a step-by-step proof-of-concept reproduction is published in the vendor advisory, with the native_result variant checked live against Elasticsearch 7.17.25 and the score_set variant verified at code level, but active exploitation is not confirmed (no KEV listing). The vendor-released fix is 7.4.1, which escapes both sinks and gates the debug flags behind the smw-admin right.

RemediationAI

Update to Semantic MediaWiki 7.4.1, which is the vendor's only complete fix: it wraps the native_result output in htmlspecialchars(), escapes all three cells in ScoreSet::asTable() with htmlspecialchars((string)...), and restricts native_result, score_set and q_engine to users holding the smw-admin right via a new canViewQueryDebugOutput() check (commit fca9922835f4353e67a71cfef4d527d46e7c3ad3; release https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1). If immediate upgrade is not possible, the durable interim measure is to stop using ElasticStore as the default store ($smwgDefaultStore), which removes the vulnerable query path entirely - at the cost of losing Elasticsearch-backed search, faceting and large-wiki performance - or to restrict the 'edit' right to trusted users, which limits who can plant payloads but does not protect against a compromised or malicious editor account and leaves the sinks reachable. Removing editing access to the relevant property and subobject namespaces and tightening who can create Text-typed properties narrows the injection surface but is not a substitute for the patched release. Gating the debug parameters behind smw-admin or $wgShowDebug, as the vendor now does upstream, should be treated as defence in depth only.

Affected VersionsENISA

SemanticMediaWiki 3.0.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: query-engine diagnostics are emitted into HTML without neutralisation. On wikis configured with $smwgDefaultStore = 'SMW\Elastic\ElasticStore', Special:Ask accepts the GET parameters native_result=1, score_set=1 and q_engine=sql_store with no permission check. With native_result=1 the raw Elasticsearch response is passed through json_encode() (no JSON_HEX_TAG, no htmlspecialchars) and placed inside a <pre> element in SpecialAsk.php; JSON encoding does not neutralise '<' or '>'. Because Elasticsearch returns the stored string of a sorted Text, Page or URL property in hits[].sort - and SMW's standard_sort_normalizer only strips '[', ']' and '/' - an ordinary editor can store '<img src=x onerror=...>' in a Text property via {{#set:}}, and the payload survives indexing intact. A second path routes through ScoreSet::asTable(), which concatenates subject hashes (WikiPage::getHash(), which embeds the editor-chosen subobject name from {{#subobject:...}}) into <td> cells without escaping; this variant additionally requires sort=es.score so that track_scores is enabled and _score is non-null. The assembled string is wrapped with Html::rawElement and passed to OutputPage::addHTML(), so it is treated as raw HTML. Notably, the sibling format=debug output of the same QueryEngine already maps '<' and '>' to entities, showing these two debug paths were simply missed; they are developer diagnostics rather than end-user features.

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 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

PR:L because the attacker needs edit rights to store the payload; UI:R because the victim must open the crafted link; S:C as script runs in the victim's session; C:L/I:L/A:N for session-scoped script impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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 3.0.0 before 7.4.1 contains a stored cross-site scripting vulnerability in Special:Ask with the ElasticStore backend, allowing users with edit rights to inject script through unescaped native_result and score_set output. Attackers can store markup in a Text property or subobject name, then lure victims including administrators to a crafted Special:Ask link to execute script in their session.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular MediaWiki extension, but only non-default ElasticStore deployments are affected
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

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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