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

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-07-07T15:07:44.875Z
- Modified: 2026-06-17T09:38:18.030Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: wikimedia-foundation

## 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.

(As written by CVE List.)

## Affected

- Wikimedia Foundation 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

## References

- <https://phabricator.wikimedia.org/T394590>
- <https://gerrit.wikimedia.org/r/q/Idd68cf2372aedd916687d30b1bd09ebb48fcfd17>

## Sources

- CVE List: [CVE-2025-53486](https://www.cve.org/CVERecord?id=CVE-2025-53486), CVE Terms of Use, modified 2025-07-07
- NVD: [CVE-2025-53486](https://nvd.nist.gov/vuln/detail/CVE-2025-53486), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53486 · Whole record: https://cve.day/CVE-2025-53486.json · Rebuilt by cve.day 2026-11-25T22:59:00.726Z
