medium · CVSS v3 6.1
CVE-2026-77606
Semantic MediaWiki prior to version 7.2.0 contains a vulnerability where user-controlled mainlabel content can become executable HTML when h
Overview
Semantic MediaWiki prior to version 7.2.0 contains a vulnerability where user-controlled mainlabel content can become executable HTML when headers=plain. This flaw occurs because table header text is improperly emitted through a raw HTML path. It matters because authenticated or unauthenticated users depending on wiki configuration could inject malicious scripts into wiki pages.
Description
Semantic MediaWiki is a free, open-source extension to MediaWiki that lets users store and query data within the wiki's pages. Prior to version 7.2.0, when `headers=plain`, table header text was emitted into ` ` via a raw HTML path. User-controlled `mainlabel` content could therefore become executable HTML. Version 7.2.0 fixes the issue.
Impact
This vulnerability impacts the integrity and confidentiality of the MediaWiki installation by allowing potential cross-site scripting (XSS) attacks. Attackers could execute arbitrary scripts in the context of a victim's browser session when viewing affected wiki tables. Administrators, editors, and regular wiki users are potentially impacted if they render or view malicious table headers. The overall CVSS v3 score is 6.1 medium severity.
Remediation
Upgrade Semantic MediaWiki to version 7.2.0 or higher to resolve the raw HTML emission issue. Ensure that strict content security policies (CSP) are enforced to limit the potential impact of any injected scripts. Audit existing wiki pages and queries for anomalous mainlabel configurations or unexpected HTML tags.
Risk context
The vulnerability is rated as medium severity with a CVSS v3 score of 6.1. EPSS data is not currently available for this CVE. Organizations utilizing Semantic MediaWiki should prioritize updating during the next maintenance window.
Affected products
- Semantic MediaWiki Semantic MediaWiki < 7.2.0
Scores
- Severity
- medium
- CVSS v2
- 6.4
- CVSS v3
- 6.1
- CVSS v4
- —
- EPSS
- —