CVE Explore

XSS in Wikimedia Foundation MediaWiki - Wikicategorytagcloud Extension

CVE-2025-53486

CVSS v3
5.4 Medium
Public exploits
None known
EPSS
0.003 · 22.7th percentile
Published
2025-07-07

The WikiCategoryTagCloud extension is vulnerable to reflected XSS via the linkstyle attribute, which is improperly concatenated into inline HTML without escaping. An attacker can inject JavaScript event handlers such as onmouseenter using carefully crafted input via the {{#tag:tagcloud}} parser function, resulting in arbitrary JavaScript execution when a victim hovers over a link in the category cloud.

The vulnerability exists because the linkstyle parameter is only passed through Sanitizer::checkCss() (which does not escape HTML) and is then directly inserted into a style attribute using string concatenation instead of Html::element or Html::openElement.

This issue affects Mediawiki - WikiCategoryTagCloud extension: from 1.39.X before 1.39.13, from 1.42.X before 1.42.7, from 1.43.X before 1.43.2.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
Required UI:R
Scope
Changed S:C
Confidentiality
Low C:L
Integrity
Low I:L
Availability
None A:N

EPSS exploit prediction

EPSS 0.003, 22.7th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References