CVE-2025-53487

ApprovedRevs: Stored Cross-Site Scripting (XSS) via unsanitized system messages

State
Published
Severity
5.4 Medium
Published
Jul 7, 2025
Updated
Jul 7, 2025
Reserved
Jun 30, 2025

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NCISA-ADP

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')

Affected Products

ProductVersions
Mediawiki - ApprovedRevs extensionWikimedia Foundation
  • 1.39.x to before 1.39.13Affected
  • 1.42.x to before 1.42.7Affected
  • 1.43.x to before 1.43.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.