Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SemanticMediaWiki | SemanticMediaWiki | 3.0.0 – < 7.4.1 | 7.4.1 |
References
- GitHub Security Advisory (GHSA-gg2q-rc52-22pp) vendor-advisory
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/db7f59461a7815416a719b71ce48fb76481ecaf2 patch
- SemanticMediaWiki 7.4.1 Release Notes release-notes
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/res/smw/printer/ext.smw.tableprinter.js#L349-L357 technical-description
- VulnCheck Advisory: Semantic MediaWiki 3.0.0 before 7.4.1 Stored XSS via data-search Attributes third-party-advisory