Description
SemanticMediaWiki from 3.1.0 before 7.3.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the unescaped default parameter in JsonResultPrinter. Attackers can lure victims to a crafted Special:Ask link with a zero-result query and request_type=special_page, executing JavaScript in the wiki origin to steal sessions or CSRF tokens.
Published: 2026-10-27
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Reflected Cross‑Site Scripting that can lead to session theft or CSRF
Action: Patch Immediately
AI Analysis

Impact

SemanticMediaWiki versions 3.1.0 through 7.3.1 expose a reflected cross‑site scripting flaw when the unescaped default parameter in JsonResultPrinter is supplied in a query. An attacker can force a victim to click a specially crafted Special:Ask link containing a zero‑result query and request_type=special_page. The injected script executes in the wiki’s origin, allowing the attacker to read cookies, hijack the victim’s session, or perform malicious actions on behalf of the user. The flaw requires no authentication and is clear‑text based on the request URL.

Affected Systems

SemanticMediaWiki by SemanticMediaWiki in the MediaWiki ecosystem, vulnerable in releases spanning 3.1.0 up to and including 7.3.1. Users running any of these versions without the fix are at risk whenever a specially crafted Special:Ask link is accessed.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity vulnerability. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that exploitation may rely on targeted social engineering rather than widespread, automated attacks. The likely attack vector involves sending or otherwise luring a user to a malicious link; once the victim follows the link, the injected JavaScript runs with the same privileges as the victim within the wiki context.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update SemanticMediaWiki to version 7.3.1 or a later release that includes the XSS fix.
  • If a prompt upgrade is not feasible, temporarily restrict or disable the Special:Ask functionality for unauthenticated users by configuring MediaWiki permissions or adding a custom access control rule that blocks the request_type=special_page parameter for public access.
  • As a last‑resort, implement output escaping for the default parameter of JsonResultPrinter by extending the extension or applying a custom patch to ensure all user‑supplied values are HTML‑escaped before rendering.

Generated by OpenCVE AI on October 27, 2026 at 11:53 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 3.1.0 before 7.3.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the unescaped default parameter in JsonResultPrinter. Attackers can lure victims to a crafted Special:Ask link with a zero-result query and request_type=special_page, executing JavaScript in the wiki origin to steal sessions or CSRF tokens.
Title SemanticMediaWiki 3.1.0 before 7.3.1 Reflected XSS via JsonResultPrinter Default Parameter
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:40.132Z

Reserved: 2026-10-27T01:00:42.500Z

Link: CVE-2026-116874

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-116874

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T12:00:08Z

Weaknesses
  • CWE-79

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