Description
SemanticMediaWiki from 2.5.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows users with page-edit rights to inject script through Code-typed property values. Attackers can annotate a valid JSON value embedding HTML markup, which the CodeStringValueFormatter renders unescaped on Special:Browse, executing JavaScript in viewers' sessions.
Published: 2026-10-27
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

SemanticMediaWiki from 2.5.0 through 7.3.0 holds a stored cross‑site scripting flaw that lets any user with page‑edit privileges insert malicious JavaScript into Code‑typed property values. The attacker crafts a JSON value that contains embedded HTML, which the CodeStringValueFormatter then renders unescaped on the Special:Browse view, causing the script to run in the browsers of visitors displaying that page.

Affected Systems

The vulnerability affects SemanticMediaWiki releases starting at 2.5.0 up to, but not including, 7.3.1. Users running these versions on any MediaWiki instance are susceptible; the flaw is tied to the handling of the Code property within the SemanticMediaWiki extension.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate risk. EPSS data is not available, and the flaw is not listed in the KEV catalog, suggesting limited public exploitation to date. Attackers need only edit or create pages to craft the payload; the code executes on any user who loads the edited page in the Special:Browse view, impacting confidentiality or integrity through user‑side scripting.

Generated by OpenCVE AI on October 27, 2026 at 11:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SemanticMediaWiki to version 7.3.1 or later, which fixes the unescaped rendering of Code property values.
  • Configure the Code property to enforce strict JSON validation and strip any embedded HTML before storing, or restrict its use to users with higher authority.
  • Implement audit logging and monitor Special:Browse for unexpected script execution to detect potential exploitation attempts.

Generated by OpenCVE AI on October 27, 2026 at 11:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
Description SemanticMediaWiki from 2.5.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows users with page-edit rights to inject script through Code-typed property values. Attackers can annotate a valid JSON value embedding HTML markup, which the CodeStringValueFormatter renders unescaped on Special:Browse, executing JavaScript in viewers' sessions.
Title SemanticMediaWiki 2.5.0 before 7.3.1 Stored XSS via Special:Browse Code Property
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': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Semantic-mediawiki Semantic Mediawiki
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-27T10:26:50.188Z

Reserved: 2026-10-27T01:01:43.272Z

Link: CVE-2026-116889

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T11:17:31.397

Modified: 2026-10-27T11:17:31.397

Link: CVE-2026-116889

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T11:30:13Z

Weaknesses
  • CWE-79

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