CVE-2025-53486
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe WikiCategoryTagCloud extension in MediaWiki is vulnerable to reflected XSS because the linkstyle parameter is passed through Sanitizer::checkCss() which does not escape HTML, then directly concatenated into a style attribute. Attackers can inject JavaScript event handlers like onmouseenter via the {{#tag:tagcloud}} parser function to achieve arbitrary JavaScript execution on hover.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify WikiCategoryTagCloud extension is installedCheck the extensions/WikiCategoryTagCloud directory in your MediaWiki installation, or look for 'WikiCategoryTagCloud' in your LocalSettings.php file under $wgExtensionCreditsAffected if The extension directory exists or the extension is registered in LocalSettings.php
-
Identify the installed WikiCategoryTagCloud versionCheck the VERSION file in extensions/WikiCategoryTagCloud/, or look for $wgVersion or the extension's setup file for version informationAffected if The version is below 1.39.13, 1.42.7, or 1.43.2 (or the version cannot be determined and the extension is present)
-
Check if the tagcloud parser function is in useSearch wiki content for {{#tag:tagcloud}} or look for uses of the tagcloud tag in pages, templates, or widgetsAffected if The {{#tag:tagcloud}} parser function is being used on any wiki page
-
Inspect linkstyle parameter usageReview pages using the tagcloud function for linkstyle parameter values, particularly any that might contain user-supplied data or appear in URLsAffected if The linkstyle parameter accepts user-controlled input without sanitization
-
Verify HTML escaping in style attribute outputView the HTML source of a page with a tagcloud and inspect the style attribute on anchor tags - check if event handlers like onmouseenter or onload are presentAffected if The generated style attribute contains unescaped HTML, particularly JavaScript event handlers like onmouseenter
A user is affected if the WikiCategoryTagCloud extension is installed with a version below 1.39.13/1.42.7/1.43.2 AND the {{#tag:tagcloud}} parser function is being used with a linkstyle parameter that can accept user-controlled input.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to WikiCategoryTagCloud version 1.39.13, 1.42.7, or 1.43.2 or later, which should contain proper HTML escaping for the linkstyle parameter using MediaWiki's Html::element or Html::openElement APIs instead of string concatenation.
WikiCategoryTagCloud 1.39.13 (for MW 1.39.x), 1.42.7 (for MW 1.42.x), or 1.43.2 (for MW 1.43.x)
- Identify the currently installed version of the WikiCategoryTagCloud extension by checking your MediaWiki installation's extensions directory or composer.json
- If running MediaWiki 1.39.x: upgrade the WikiCategoryTagCloud extension to version 1.39.13 or later
- If running MediaWiki 1.42.x: upgrade the WikiCategoryTagCloud extension to version 1.42.7 or later
- If running MediaWiki 1.43.x: upgrade the WikiCategoryTagCloud extension to version 1.43.2 or later
- Run composer update for the extension or pull the latest release from the extension repository
- Clear any caching mechanisms (including MediaWiki object caching)
- Verify the upgrade was successful by checking the extension version in Special:Version
- Test the category tag cloud functionality to ensure the feature still works as expected after the security fix
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,832.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-53486 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-53486 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data