Skip to main content

Semantic MediaWiki CVE-2026-126560

| EUVDEUVD-2026-123075 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-cqj6-mhrj-q9qw
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Attacker obtains page-edit rights
  2. Delivery
    Save page with crafted data-search cell attribute
  3. Exploit
    Victim views stored page
  4. Execution
    DataTables decodes attribute into innerHTML
  5. Persist
    Script executes in viewer/admin session
  6. Impact
    Steal CSRF token and hijack account

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

Requires an account with page-edit rights on a Semantic MediaWiki instance (version 3.0.0 through 7.4.1-alpha, before 7.4.1) whose DataTables table-printer integration (ext.smw.tableprinter) is active. The attacker must author a page that triggers loading of that module - an #ask query with class=datatable - and include a hand-written table carrying the .smw-datatable/.datatable classes with a data-search or data-filter cell attribute holding HTML entity-encoded markup containing an '&'; the MediaWiki Sanitizer permits these non-reserved data-* attributes. Exploitation is LIMITED by: needing edit privileges (PR:L, not unauthenticated), needing a victim to view the page (UI:P, though no click or typing is required once viewed), and the vulnerability being confined to the stated version range. Fixed in 7.4.1, which strips author-supplied data-search/data-filter attributes before DataTables reads them; upgrading is the vendor's remediation.

Impact

This is a genuine but moderate-priority issue, not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, 5.1 medium) is internally consistent with the mechanism: network-reachable, low complexity, but requiring an authenticated editor (PR:L) and a victim who merely views the page (UI:P, passive). It is not in CISA KEV and no EPSS score was supplied, so there is no signal of active or widespread exploitation. The vuln.today decision label is 'this_month', which matches a stored XSS that needs an authenticated author rather than an unauthenticated internet-wide trigger. The signals are coherent - the main driver of real risk is the privilege-escalation potential: the lowest wikitext-author privilege can land script in the session of any reader, including administrators, enabling CSRF-token theft and account takeover. No conflicting signals were found between the vector, description, and SSVC-style framing; the key limiter is that the attacker must already hold page-edit rights on a vulnerable instance.

Exploit ScenarioDerived

An attacker with ordinary page-edit rights saves a wiki page containing an SMW #ask table with class=datatable plus a hand-authored .smw-datatable table whose first-row cell carries an entity-encoded data-search attribute such as data-search="<img src=x onerror=...>&". When any other logged-in or anonymous user views the page, DataTables decodes the attribute and assigns it via innerHTML, firing the payload with no clicks. The vendor GHSA advisory includes a complete working proof of concept, verified by a headless-Chrome reproduction that rendered the injected marker (XSS-FIRED).

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 DataTables table-printer (ext.smw.tableprinter) allows any user with page-edit rights to plant markup in a cell's data-search or data-filter attribute that executes in the browser of every reader of the page, administrators included. The integration automatically initialises every element carrying the .smw-datatable class - including tables an author wrote in wikitext - and the bundled DataTables 2.x build reads those attributes with getAttribute(), decodes the value, and for any value containing an '&' assigns it to a detached div through innerHTML, so an entity-encoded payload slips past the MediaWiki Sanitizer's allowance for non-reserved data-* attributes. Releases 3.0.0 through 7.4.0 are affected and 7.4.1 fixes it; the vendor advisory publishes reproduction steps that demonstrate the handler firing, though there is no confirmed active exploitation (not in CISA KEV) and the flaw requires edit privileges plus a victim viewing the page.

RemediationAI

Upgrade to Semantic MediaWiki 7.4.1, which is the vendor's remediation and the only complete fix: the patched ext.smw.tableprinter.js (commit db7f59461a7815416a719b71ce48fb76481ecaf2) removes data-search and data-filter attributes from cells before DataTables reads them, closing the innerHTML sink while leaving data-order and data-sort intact so SMW's numeric and date sorting continues to work - verify after upgrading that sortable SMW table columns still order correctly, since the fix intentionally narrows which attributes are stripped. Deployment details are in GHSA-gg2q-rc52-22pp and the 7.4.1 release notes; the advisory additionally recommends the structural fix of initialising only SMW-generated tables via a reserved data-mw-smw-datatable marker (which wikitext cannot set) instead of the .smw-datatable/.datatable classes, and of defining explicit columns/columnDefs data so DataTables' attribute-based orthogonal data detection is not used at all. Where upgrading cannot be done immediately, the exposure is bounded by edit privileges - restricting page-edit rights to trusted users or requiring review of wikitext contributions reduces who can plant the payload, at the cost of open collaboration on the wiki - and because the payload is triggered by the table-printer module, avoiding #ask tables that use class=datatable removes the injection surface on affected pages, though this degrades table filtering and search functionality. Note that the two prior data-* fixes in this project (GHSA-hg8h-557g-q8pp, GHSA-4wj6-wmjp-pmhh) do not mitigate this issue.

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

Semantic MediaWiki's table result printer ships a JavaScript module (res/smw/printer/ext.smw.tableprinter.js) that starts the bundled DataTables library on any element matching the .smw-datatable class and on .datatable tables nested inside it; TableResultPrinter.php loads that module for any #ask query using format=table with class=datatable. Because selection is class-based rather than marker-based, author-written wikitext tables are initialised too. DataTables 2.x (2.1.6 is bundled) treats a first-row cell's data-search or data-filter attribute as orthogonal filter data for that column, reads it via getAttribute() - which returns the entity-decoded string - and, when the decoded value contains '&', writes it into a detached div using innerHTML. The MediaWiki Sanitizer permits these non-reserved data-* attributes, so an ordinary editor can store '<img src=x onerror=...>' and have it execute on DataTables' first draw with no click or typing. This is CWE-79 (improper neutralisation of input during web page generation), a distinct sink from two earlier fixes in the same project - GHSA-hg8h-557g-q8pp, which renamed a SMW attribute to a reserved data-mw-* name, and GHSA-4wj6-wmjp-pmhh, which removed tippy's allowHTML - neither of which changed how the DataTables integration selects tables or reads cell attributes. The vendor fix strips data-search and data-filter from non-SMW cells before DataTable() is called while deliberately preserving data-order and data-sort, which only feed sorting and type detection and carry SMW's own numeric and date sort values.

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

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

Authenticated editor sets PR:L, stored XSS firing in a viewer's browser crosses a trust boundary so S:C with UI:R, and script-in-session yields limited C:L/I:L and no availability 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 the DataTables integration that initialises author-written smw-datatable tables unchanged. Users with page-edit rights can add HTML entity-encoded markup in data-search or data-filter cell attributes, executing script in viewers' browsers including administrators.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
popular MediaWiki extension, widely used but not on every wiki
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-2014-1610 MEDIUM POC
6.0 Jan 30

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

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

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

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

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