# CVE-2026-126560: Semantic MediaWiki stored cross-site scripting in DataTables

Source: https://junglewise.ai/threats/cve-2026-126560-semantic-mediawiki-3-0-0-before-7-4-1-contains-a-stored-cross  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-11. Updated: 2026-11-11  
License: CC BY 4.0 with a link back

CVE-2026-126560 · Severity: medium · CVSS 5.4 · Published 2026-11-11

Semantic MediaWiki is a database extension for wikis that lets users query and display structured data in tables. A flaw in how it handles user-written table data allows editors to embed malicious scripts in table filters that execute in the browsers of anyone viewing the page, including site administrators, potentially leading to account compromise or data theft.

Technologies: [Semantic MediaWiki](https://junglewise.ai/threats/technologies/semantic-mediawiki). Vendors: [Semantic MediaWiki](https://junglewise.ai/threats/vendors/semantic-mediawiki).

## Quick answers

**Is CVE-2026-126560 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-126560 being exploited in the wild.

**How severe is CVE-2026-126560?** Medium severity, with a CVSS score of 5.4, published 11 November 2026.

**Which products and versions are affected?** Semantic MediaWiki 3.0.0 before 7.4.1.

**Is there a fix for CVE-2026-126560?** Yes: fixed in 7.4.1. Until then: Restrict page-edit permissions to trusted users only, as the vulnerability requires authenticated editor access to inject malicious table attributes. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-126560 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-126560?** Check whether you run Semantic MediaWiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 7.4.1

Restrict page-edit permissions to trusted users only, as the vulnerability requires authenticated editor access to inject malicious table attributes.

## Technical details

A stored XSS vulnerability exists in the DataTables integration where user-supplied data-search and data-filter cell attributes are decoded and assigned to element innerHTML properties without sanitization. An authenticated user with page-edit rights can inject HTML entity-encoded JavaScript (e.g., &lt;img onerror=...&gt;) into smw-datatable table cells, which executes when the table is initialized in viewers' browsers. The vulnerability requires the attacker to have edit permissions and affects all users viewing the page.

## Affected products

- Semantic MediaWiki Semantic MediaWiki 3.0.0 before 7.4.1

## Timeline

- 2026-11-11: disclosed

## References

- [https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/res/smw/printer/ext.smw.tableprinter.js](https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/res/smw/printer/ext.smw.tableprinter.js)
- [https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/db7f59461a7815416a719b71ce48fb76481ecaf2](https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/db7f59461a7815416a719b71ce48fb76481ecaf2)

## Related threats

- [Semantic MediaWiki authorization bypass in edit protection](https://junglewise.ai/threats/cve-2026-126566-semantic-mediawiki-7-3-1-before-7-4-1-contains-an-incorrect)
- [Semantic MediaWiki denial of service in concept expansion](https://junglewise.ai/threats/cve-2026-126565-semantic-mediawiki-3-0-0-before-7-4-1-contains-a-denial-of)
- [Semantic MediaWiki stored XSS in ValueFormatter property label](https://junglewise.ai/threats/cve-2026-126564-semantic-mediawiki-2-5-0-before-7-4-1-contains-a-stored-cross)
- [Semantic MediaWiki uncontrolled recursion in ConceptDescriptionInterpreter](https://junglewise.ai/threats/cve-2026-126562-semantic-mediawiki-3-0-0-before-7-4-1-contains-an-uncontrolled)
- [Semantic MediaWiki missing authorization in page edit protection](https://junglewise.ai/threats/cve-2026-126561-semantic-mediawiki-2-5-0-before-7-4-1-contains-a-missing)
