Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-53486

MEDIUM · 5.4 CVSS v3.1 Published 2025-07-07
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
58/100
Remediation priority · Elevated
Remotely reachable

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 · unedited
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.

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 confidence

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

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

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 checks

Work through these to decide whether this CVE applies to you.

  1. Verify WikiCategoryTagCloud extension is installed
    Check the extensions/WikiCategoryTagCloud directory in your MediaWiki installation, or look for 'WikiCategoryTagCloud' in your LocalSettings.php file under $wgExtensionCredits
    Affected if The extension directory exists or the extension is registered in LocalSettings.php
  2. Identify the installed WikiCategoryTagCloud version
    Check the VERSION file in extensions/WikiCategoryTagCloud/, or look for $wgVersion or the extension's setup file for version information
    Affected 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)
  3. Check if the tagcloud parser function is in use
    Search wiki content for {{#tag:tagcloud}} or look for uses of the tagcloud tag in pages, templates, or widgets
    Affected if The {{#tag:tagcloud}} parser function is being used on any wiki page
  4. Inspect linkstyle parameter usage
    Review pages using the tagcloud function for linkstyle parameter values, particularly any that might contain user-supplied data or appear in URLs
    Affected if The linkstyle parameter accepts user-controlled input without sanitization
  5. Verify HTML escaping in style attribute output
    View 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 present
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

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

Recommended fix High confidence

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)

  1. Identify the currently installed version of the WikiCategoryTagCloud extension by checking your MediaWiki installation's extensions directory or composer.json
  2. If running MediaWiki 1.39.x: upgrade the WikiCategoryTagCloud extension to version 1.39.13 or later
  3. If running MediaWiki 1.42.x: upgrade the WikiCategoryTagCloud extension to version 1.42.7 or later
  4. If running MediaWiki 1.43.x: upgrade the WikiCategoryTagCloud extension to version 1.43.2 or later
  5. Run composer update for the extension or pull the latest release from the extension repository
  6. Clear any caching mechanisms (including MediaWiki object caching)
  7. Verify the upgrade was successful by checking the extension version in Special:Version
  8. Test the category tag cloud functionality to ensure the feature still works as expected after the security fix
Caveat None expected; this is a security patch with no documented breaking changes

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,770
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-53486 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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