{"id":"CVE-2025-53486","state":"PUBLISHED","title":"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.\n\n\n\n\nThe 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.\n\n\n\n\nThis 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.","publishedAt":"2025-07-07T15:07:44.875Z","updatedAt":"2025-07-07T19:15:02.740Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"wikimedia-foundation","products":["Wikimedia Foundation Mediawiki - WikiCategoryTagCloud extension"],"affected":[{"vendor":"Wikimedia Foundation","product":"Mediawiki - WikiCategoryTagCloud extension","defaultStatus":"unaffected","versions":[{"version":"1.39.x","status":"affected","lessThan":"1.39.13","versionType":"semver"},{"version":"1.42.x","status":"affected","lessThan":"1.42.7","versionType":"semver"},{"version":"1.43.x","status":"affected","lessThan":"1.43.2","versionType":"semver"}]}],"references":["https://phabricator.wikimedia.org/T394590","https://gerrit.wikimedia.org/r/q/Idd68cf2372aedd916687d30b1bd09ebb48fcfd17"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/53xxx/CVE-2025-53486.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-53486","state":"PUBLISHED","datePublished":"2025-07-07T15:07:44.875Z","dateUpdated":"2025-07-07T19:15:02.740Z","assignerShortName":"wikimedia-foundation","assignerOrgId":"c4f26cc8-17ff-4c99-b5e2-38fc1793eacc","dateReserved":"2025-06-30T15:20:44.462Z"},"containers":{"cna":{"title":"WikiCategoryTagCloud: Reflected Cross-Site Scripting (XSS) via linkstyle attribute in parser function","descriptions":[{"lang":"en","value":"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.\n\n\n\n\nThe 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.\n\n\n\n\nThis 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."}],"affected":[{"vendor":"Wikimedia Foundation","product":"Mediawiki - WikiCategoryTagCloud extension","defaultStatus":"unaffected","versions":[{"version":"1.39.x","status":"affected","lessThan":"1.39.13","versionType":"semver"},{"version":"1.42.x","status":"affected","lessThan":"1.42.7","versionType":"semver"},{"version":"1.43.x","status":"affected","lessThan":"1.43.2","versionType":"semver"}]}],"references":[{"url":"https://phabricator.wikimedia.org/T394590"},{"url":"https://gerrit.wikimedia.org/r/q/Idd68cf2372aedd916687d30b1bd09ebb48fcfd17"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"wikimedia-foundation","orgId":"c4f26cc8-17ff-4c99-b5e2-38fc1793eacc","dateUpdated":"2025-07-07T15:07:44.875Z"},"impacts":[{"capecId":"CAPEC-591","descriptions":[{"lang":"en","value":"CAPEC-591 Reflected XSS"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-07-07T19:13:04.719962Z","id":"CVE-2025-53486","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-07T19:15:02.740Z"}}]}}}