CVE-2025-53487
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 ApprovedRevs extension for MediaWiki is vulnerable to stored XSS in multiple locations where system messages are inserted into raw HTML without proper escaping. Attackers can exploit this by injecting JavaScript payloads via the uselang=x-xss language override, which causes crafted message keys to be rendered unescaped. This issue affects Mediawiki - ApprovedRevs 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 ApprovedRevs MediaWiki extension is vulnerable to stored XSS where system messages are inserted into raw HTML without proper escaping. Attackers can exploit this via the uselang=x-xss language override, which allows crafted message keys to be rendered unescaped in the output, enabling JavaScript injection.
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 ApprovedRevs extension is installedCheck your MediaWiki extensions directory for the ApprovedRevs folder, or query the extension via MediaWiki's Special:Version pageAffected if ApprovedRevs extension is present and enabled in MediaWiki
-
Determine installed ApprovedRevs versionLocate the ApprovedRevs.php or extension.json file in the extension directory and read the version number, or check Special:Version in MediaWikiAffected if The version is lower than 1.39.13, 1.42.7, or 1.43.2 (or cannot be determined and is assumed older)
-
Confirm language override parameter is accessibleAttempt to access a page with uselang=x-xss query parameter (e.g., index.php?title=SomePage&uselang=x-xss) and verify the parameter is processed by MediaWikiAffected if The uselang parameter is accepted and modifies page rendering without validation
-
Check if message rendering occurs in raw HTML contextInspect page source after loading a page with uselang=x-xss parameter; look for unescaped system messages or message keys appearing in the HTML outputAffected if System messages or custom message keys are rendered without HTML entity encoding in the page output
You are affected if ApprovedRevs extension is installed with a version prior to 1.39.13/1.42.7/1.43.2 and the uselang parameter can be manipulated to render message content unescaped in HTML.
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 ApprovedRevs extension to version 1.39.13, 1.42.7, or 1.43.2 or later to receive the patch that properly escapes system messages in HTML output.
Upgrade to ApprovedRevs 1.39.13, 1.42.7, or 1.43.2 (depending on your current branch)
- Identify the currently installed version of the ApprovedRevs extension by checking the extension's version file or composer.json
- Back up the MediaWiki database and the ApprovedRevs extension directory before making changes
- Determine which version branch you are on (1.39.x, 1.42.x, or 1.43.x)
- Download the appropriate fixed version: 1.39.13 for 1.39.x branches, 1.42.7 for 1.42.x branches, or 1.43.2 for 1.43.x branches
- Replace the existing ApprovedRevs extension files with the new version files
- Clear MediaWiki's object cache and any CDN caches to ensure the patched code is loaded
- Verify the extension is loaded and functioning correctly by visiting Special:Version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.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 $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-53487 — 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-53487 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