CVE-2025-49578
PHP vulnerability analysis and mitigation

Overview

CVE-2025-49578 is a stored Cross-Site Scripting (XSS) vulnerability discovered in Citizen, a MediaWiki skin that makes extensions part of the cohesive experience. The vulnerability was discovered in June 2025 and affects versions prior to 3.3.1. The issue stems from various date messages returned by Language::userDate being inserted into raw HTML, which allows users with specific privileges to inject arbitrary HTML into the DOM (GitHub Advisory, Wiz).

Technical details

The vulnerability occurs in the CitizenComponentUserInfo.php component where the result of $this->lang->userDate($timestamp, $this->user) returns unescaped values that are inserted as raw HTML. The vulnerability has been assigned a CVSS v3.1 base 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, indicating network attack vector, low attack complexity, high privileges required, and no user interaction needed (GitHub Advisory, Wiz).

Impact

The vulnerability allows attackers with editinterface privileges to inject arbitrary HTML into the DOM, potentially leading to stored Cross-Site Scripting attacks. This could result in high impact on both confidentiality and integrity of the affected systems, though there is no direct impact on system availability. The vulnerability specifically impacts wikis where a group has the editinterface but not the editsitejs user right (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.3.1 of the Citizen MediaWiki skin. The fix involves properly escaping the user registration date output and implementing proper HTML sanitization. Users are strongly advised to upgrade to the patched version (GitHub Advisory).

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-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 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