CVE-2025-53486

Medium

Description

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductMediawiki - WikiCategoryTagCloud extension
PublishedJul 7, 2025
First seenJul 7, 2025

How to fix

Update
  • Wikimedia Foundation Mediawiki - WikiCategoryTagCloud extension1.39.13, 1.42.7, 1.43.2 or later

Affected products

ProductAffected versionsFixed in
Wikimedia Foundation Mediawiki - WikiCategoryTagCloud extension1.39.x ≤ v < 1.39.13, 1.42.x ≤ v < 1.42.7, 1.43.x ≤ v < 1.43.21.39.13, 1.42.7, 1.43.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.