We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-53486

WikiCategoryTagCloud: Reflected Cross-Site Scripting (XSS) via linkstyle attribute in parser function



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.

Reserved 2025-06-30 | Published 2025-07-07 | Updated 2025-07-07 | Assigner wikimedia-foundation

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')

Product status

Default status
unaffected

1.39.x before 1.39.13
affected

1.42.x before 1.42.7
affected

1.43.x before 1.43.2
affected

References

phabricator.wikimedia.org/T394590

gerrit.wikimedia.org/...cf2372aedd916687d30b1bd09ebb48fcfd17

cve.org (CVE-2025-53486)

nvd.nist.gov (CVE-2025-53486)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-53486

Support options

Helpdesk Chat, Email, Knowledgebase