CVE-2026-126564

Semantic MediaWiki 2.5.0 before 7.4.1 Stored XSS via Special:Browse Factbox Title

Published Nov 11, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Semantic MediaWiki 2.5.0 before 7.4.1 contains a stored cross-site scripting vulnerability in ValueFormatter::getFormattedSubject() that renders property label segments after a literal &nbsp; as unescaped markup. Users with page-edit rights can set a preferred property label containing an img onerror payload that executes when anyone, including administrators, views Special:Browse or the smwbrowse API.

Analysis

AI-generated

Technical impact

Semantic MediaWiki contains a stored XSS flaw that lets an attacker who can edit pages embed a malicious payload inside a property label. The bug occurs when the formatter renders property label segments after a literal &nbsp; as raw markup, allowing an <img> onerror script to run in the browser of anyone who views Special:Browse or the smwbrowse API. The result is arbitrary client‑side script execution, potentially enabling session hijacking, cookie theft, or page defacement. This is a classic input validation weakness identified as CWE‑79.

Affected Systems

All installations of Semantic MediaWiki 2.5.0 up to, but not including, 7.4.1 are vulnerable. The flaw requires privilege to edit pages, so any user with page‑edit rights can create a malicious property label. The issue is confined to the Semantic MediaWiki core interface exposed through Special:Browse; other components are unaffected.

Risk and Exploitability

The CVSS score of 5.1 reflects a moderate severity; the EPSS score of <1 % indicates a low probability of exploitation at this time, and the issue is not catalogued in CISA’s KEV list. Nonetheless, the vulnerability is publicly known and the exploitation path is trivial for an attacker with edit permissions, especially on sites with permissive editing rights. Once a malicious label is stored, any visitor—including site administrators—will load the attacker‑controlled script simply by accessing Special:Browse or requesting the smwbrowse API. Administrators should therefore assume that the window of opportunity is limited only by the presence of an untrusted editing user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Semantic MediaWiki to version 7.4.1 or newer.
  • If an upgrade is not immediately possible, immediately remove or sanitize any property labels containing <img> tags or onerror attributes to eliminate the stored payload.
  • Consider restricting page‑edit rights so that only trusted users can modify property labels or disabling the Special:Browse special page until a fix is applied.
  • Apply the commit c9bf9f25549bb2f5eab916339b267a1732002c4c manually if patching is delayed.

Generated by OpenCVE AI on November 13, 2026 at 20:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Semantic MediaWiki 2.5.0 before 7.4.1 contains a stored cross-site scripting vulnerability in ValueFormatter::getFormattedSubject() that renders property label segments after a literal &nbsp; as unescaped markup. Users with page-edit rights can set a preferred property label containing an img onerror payload that executes when anyone, including administrators, views Special:Browse or the smwbrowse API.
Title Semantic MediaWiki 2.5.0 before 7.4.1 Stored XSS via Special:Browse Factbox Title
First Time appeared Semantic-mediawiki
Semantic-mediawiki semantic Mediawiki
Weaknesses CWE-79
CPEs cpe:2.3:a:semantic-mediawiki:semantic_mediawiki:*:*:*:*:*:mediawiki:*:*
Vendors & Products Semantic-mediawiki
Semantic-mediawiki semantic Mediawiki
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 12, 2026, 5:58 PM
Reserved
Nov 11, 2026, 1:43 AM
Status
Awaiting Analysis
Published
Nov 11, 2026, 3:16 AM
Modified
Nov 12, 2026, 8:28 PM