Description
Semantic MediaWiki from 3.1.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows authenticated schema editors to inject HTML through schema descriptions. Attackers with the smw-schemaedit permission can save HTML that is passed unescaped to Html::rawElement() in HtmlBuilder, altering pages and targeting users who view the schema.
Published: 2026-10-27
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Stored cross‑site scripting that allows attackers to inject malicious HTML into schema descriptions, impacting any users who view the schema pages.
Action: Update Software
AI Analysis

Impact

Semantic MediaWiki from version 3.1.0 up to 7.3.1 stores schema descriptions without escaping HTML before passing them to Html::rawElement(). An attacker with the smw‑schemaedit permission can embed arbitrary HTML or JavaScript. When a user views the affected schema, the stored script executes in that user’s browser, enabling phishing, data theft, or session hijacking. The weakness aligns with CWE‑79, a stored cross‑site scripting flaw.

Affected Systems

The vulnerability affects Semantic MediaWiki, a MediaWiki extension, in releases beginning with 3.1.0 and continuing through 7.3.1. Any deployment of these versions that grants the smw‑schemaedit permission to users is susceptible.

Risk and Exploitability

The CVSS base score of 4.8 indicates moderate impact when the flaw is exploited. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to be authenticated and possess smw‑schemaedit authority, so it is limited to users who can edit schema descriptions. If the required permission is widely available, the risk rises; otherwise, the potential attack surface is narrower.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Semantic MediaWiki 7.3.1 or later, which removes the unescaped HTML handling in schema descriptions.
  • If an upgrade is not yet possible, deny or restrict the smw‑schemaedit permission to only trusted or minimal users, and carefully review existing schema descriptions for malicious content.
  • As an interim workaround, disable the ability to include arbitrary HTML in schema descriptions by configuring the extension to escape all markup or by applying manual sanitization of the description field.

Generated by OpenCVE AI on October 27, 2026 at 11:24 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 Semantic MediaWiki from 3.1.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows authenticated schema editors to inject HTML through schema descriptions. Attackers with the smw-schemaedit permission can save HTML that is passed unescaped to Html::rawElement() in HtmlBuilder, altering pages and targeting users who view the schema.
Title Semantic MediaWiki 3.1.0 before 7.3.1 Stored XSS via Schema Descriptions
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': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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:46.130Z

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

Link: CVE-2026-116883

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-116883

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')