Skip to main content

SemanticMediaWiki CVE-2026-116892

| EUVDEUVD-2026-110720 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-27 VulnCheck GHSA-xq8g-94p2-h527
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Special:Search URL with smw profile
  2. Delivery
    Lure wiki visitor to open the link
  3. Exploit
    Unescaped SVG rendered into pre element via Html::rawElement
  4. Execution
    Event handler executes script in wiki origin
  5. Impact
    Limited action in visitor's wiki context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the operator to have explicitly enabled the optional extended search engine by setting $wgSearchType = SMW\MediaWiki\Search\ExtendedSearchEngine::class (or the legacy SMWSearch alias); this is NOT a default configuration, so wikis using MediaWiki's default search are not affected on this path. The attacker needs no account, write permission, or stored content - the smw search profile must simply be registered and a query link must exist so ProfileForm::profile_sheet renders the query. The key limiting factor is required user interaction: a visitor must open the attacker-supplied crafted Special:Search URL (reflected, not stored), so there is no automated mass trigger. Impact is bounded to script execution in the wiki origin in the victim's browser; the advisory did not test or confirm session theft or account takeover.

Impact

This is a reflected XSS (CWE-79) carrying a moderate CVSS 4.0 score of 5.3, and the real-world risk is genuinely moderate rather than critical. Positive signals: the input CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N - network-reachable, low-complexity, and unauthenticated - and a public PoC reference exists in the GHSA advisory. Dampening signals dominate, however: the vector requires user interaction (UI:P - a victim must open the attacker's crafted URL), impact is limited (VC:L/VI:L, VA:N), and exploitation is gated on a non-default deployment choice (the operator must have enabled the optional extended search engine via $wgSearchType). No EPSS score is provided in the input, so exploitation probability cannot be quantified. There is no CISA KEV listing and no claim of active exploitation; the vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a patch-this-cycle priority rather than a drop-everything emergency. Note a data limitation: the GHSA advisory itself states the first affected release, full affected range, and fixed release are 'unknown' and that its validation was a local JSDOM DOM-marker check (not a browser/Chrome test and not a tested session/account impact), whereas the CVE description, EUVD, and the composer package record independently assert the range 3.1.0 to <7.3.1 fixed in 7.3.1 - treat the fixed-version claim as established by the patch commit and package metadata, but the account-level consequence of the XSS remains untested.

Exploit ScenarioDerived

On a wiki that has enabled the optional SemanticMediaWiki extended search engine, an unauthenticated attacker places a crafted Special:Search URL (profile=smw) containing an SVG event-handler payload in a link and lures a reader into opening it. ProfileForm::profile_sheet inserts the search query into a <pre> element unescaped via Html::rawElement, so the browser parses the SVG and runs its handler as script in the wiki's origin. A public PoC request shape exists in the GHSA advisory, but it was validated only via a local JSDOM DOM-marker and is not verified as a working browser exploit; the AV:N/AC:L path still requires victim interaction (UI).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Reflected cross-site scripting in SemanticMediaWiki 3.1.0 through 7.3.0 lets an unauthenticated remote attacker execute script in a wiki's origin when a victim opens a crafted Special:Search URL that uses the smw profile with an SVG event-handler payload, because ProfileForm::profile_sheet writes the search query into a pre element with Html::rawElement instead of escaping it. Exposure is conditional: the operator must have enabled SemanticMediaWiki's optional extended search engine ($wgSearchType = SMW\MediaWiki\Search\ExtendedSearchEngine::class or the legacy SMWSearch alias), so wikis running MediaWiki's default search are not affected on this path, and the attack is reflected rather than stored, so a visitor must follow the attacker-supplied link. A public PoC reference exists in the form of a raw HTTP request shape plus a marker-only JSDOM validation in a disposable fixture; it is not verified as working exploit code beyond that confined test, there is no CISA KEV entry, and the moderate CVSS 4.0 score of 5.3 reflects limited confidentiality and integrity impact inside the victim's browser rather than a demonstrated account takeover.

RemediationAI

Vendor-released patch: 7.3.1 - upgrade SemanticMediaWiki to 7.3.1 or later (Composer: composer/mediawiki/semantic-media-wiki >= 7.3.1); the fixing change is commit a77e592320707499769c9386a33d97bc966d9418, which replaces Html::rawElement( 'pre', [], $query ) with the escaping Html::element( 'pre', [], $query ) in ProfileForm::profile_sheet and adds regression tests asserting that a script-bearing query is entity-encoded while a benign query is preserved. If upgrading cannot be done immediately, the effective compensating control given the configuration prerequisite is to disable the optional extended search engine - remove or change $wgSearchType so it no longer points at SMW\MediaWiki\Search\ExtendedSearchEngine::class or the legacy SMWSearch alias and revert to MediaWiki's default search backend - which stops the smw profile from being registered and unloads the vulnerable rendering path, at the cost of losing SemanticMediaWiki's structured extended search form for users. Applying the one-line rawElement-to-element change as a local patch achieves the same effect while keeping the feature but creates a maintenance burden at the next upgrade; per the advisory's own remediation guidance this is a proposed fix whose regression test should exercise Special:Search with the extended engine enabled and confirm the payload renders as text. Advisory and patch references: https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-375v-wx2r-4598 and https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/a77e592320707499769c9386a33d97bc966d9418.

Affected VersionsENISA

SemanticMediaWiki 3.1.0 <7.3.1

Affected Packages

euvd semanticmediawiki fix: 7.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SemanticMediaWiki is a PHP extension for MediaWiki that adds structured, semantic search; the affected component is the optional extended search profile registered through the SpecialSearchProfileForm hook (src/MediaWiki/Hooks/SpecialSearchProfileForm.php), which only accepts the smw profile on Special:Search, and through ProfileForm::addProfile (src/MediaWiki/Search/ProfileForm/ProfileForm.php), gated by ExtendedSearchEngine::isActiveSearchType accepting either the canonical class name or the SMWSearch alias. In ProfileForm::profile_sheet the search engine's query string is concatenated into $text using Html::rawElement( 'pre', [], $query ), which treats the value as already-safe HTML; the attacker-controlled search parameter therefore lands inside a pre element as live markup, so a crafted SVG element with an event handler is parsed and executed in the wiki origin. This is CWE-79 (improper neutralization of input during web page generation), reflected rather than stored: no account, write permission or persisted content is required, but the victim must open the crafted URL. The advisory confirms SemanticMediaWiki 7.3.0 as vulnerable and notes that the raw pre wrapper was introduced by commit 6db2419fa in 2019 and first shipped in tag 3.1.0, while 5.0.0 release notes record a period when the SMWSearch feature was not working, so the continuous vulnerable interval and exact first affected release are asserted by package metadata (>= 3.1.0, < 7.3.1) rather than independently re-established. The CPE cpe:2.3:a:semanticmediawiki:semanticmediawiki:*:*:*:*:*:*:*:* matches all versions and must be narrowed to the vulnerable range.

Know when Semanticmediawiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Unauthenticated network-reachable reflected XSS (PR:N, AV:N, AC:L) that requires the victim to click a link (UI:R) and executes in the wiki origin (S:C) with limited confidentiality/integrity impact and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

SemanticMediaWiki from 3.1.0 before 7.3.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject markup through the search parameter of the extended Special:Search profile. Attackers can send visitors crafted URLs using the smw profile with SVG event handlers, which ProfileForm::profile_sheet inserts unescaped into a pre element, executing script in the wiki origin.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
optional MediaWiki extension, niche semantic-wiki footprint, vulnerable feature non-default
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-61682 HIGH POC
8.6 Sep 18

Stored cross-site scripting in Semantic MediaWiki 3.1.0 through 6.x lets users with the MediaWiki 'edit' right inject ar

CVE-2026-116878 HIGH
8.7 Oct 27

Semantic MediaWiki before 7.3.1 exposes Special:PropertyLabelSimilarity without an administrator restriction, and a call

CVE-2026-116877 HIGH
8.7 Oct 27

Semantic MediaWiki 2.5.0 through 7.3.0 lets an editor with ordinary page-edit permission exhaust server CPU, memory and

CVE-2026-116872 HIGH
8.7 Oct 27

Quadratic CPU consumption in Semantic MediaWiki's term parser gives unauthenticated visitors a way to tie up PHP search

CVE-2026-116871 HIGH
8.7 Oct 27

Unauthenticated CPU and memory exhaustion in Semantic MediaWiki 3.0.0 up to (but not including) 7.3.1 allows remote atta

CVE-2026-116880 HIGH
7.1 Oct 27

Cross-site request forgery in Semantic MediaWiki's Special:SMWAdmin page allows an attacker to drive destructive mainten

CVE-2026-116876 HIGH
7.1 Oct 27

Semantic MediaWiki 2.5.0 through 7.3.1-alpha applies annotation-driven page protection without any authorization check,

CVE-2026-116890 MEDIUM
6.9 Oct 27

Missing authorization in the Semantic MediaWiki smwtask API module allows unauthenticated remote visitors to invoke main

CVE-2026-116879 MEDIUM
6.9 Oct 27

Semantic MediaWiki 7.3.0 through 7.3.1-alpha fails to authorize the target page in its smwtask update task, letting a ca

CVE-2026-116873 MEDIUM
6.9 Oct 27

Missing authorization in Semantic MediaWiki 7.3.0 lets unauthenticated remote callers run queued maintenance jobs of arb

CVE-2026-77616 MEDIUM
6.1 Sep 18

Reflected cross-site scripting in Semantic MediaWiki 7.0.0 through 7.1.0 lets an unauthenticated attacker execute arbitr

CVE-2026-77610 MEDIUM
6.1 Sep 18

Reflected cross-site scripting in Semantic MediaWiki 7.1.0 and earlier lets an unauthenticated remote attacker inject ar

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy