CVE-2025-49575
PHP vulnerability analysis and mitigation

Overview

CVE-2025-49575 is a stored Cross-Site Scripting (XSS) vulnerability discovered in the Citizen MediaWiki skin. The vulnerability was disclosed on June 11, 2025, and affects multiple system messages that are inserted into the CommandPaletteFooter as raw HTML. This security issue impacts wikis where a group has the 'editinterface' permission but lacks the 'editsitejs' user right. The vulnerability has been fixed in version 3.3.1 (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of system messages in the CommandPaletteFooter component. The affected messages include citizen-command-palette-tip-commands, citizen-command-palette-tip-users, citizen-command-palette-tip-namespace, and citizen-command-palette-tip-templates. These messages were retrieved using the plain() output mode instead of parse(), allowing raw HTML injection. The vulnerability has been assigned a CVSS v3.1 score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N (GitHub Advisory, Wiz).

Impact

The vulnerability allows attackers with 'editinterface' permissions to inject arbitrary HTML into the DOM, potentially leading to Cross-Site Scripting attacks. This could result in unauthorized access to sensitive information and potential manipulation of web content for users viewing the affected pages (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.3.1 of the Citizen MediaWiki skin. The fix involves changing the message handling from plain() to parse() mode and implementing proper HTML escaping. Users are advised to upgrade to the patched version. The fix is implemented in commit 93c36ac778397e0e7c46cf7adb1e5d848265f1bd (Wiz).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management