CVE-2025-66492: Masa CMS vulnerable to Cross-Site Scripting (XSS) through URL Parameter
Masa CMS is an open source Enterprise Content Management platform. Versions 7.2.8 and below, 7.3.1 through 7.3.13, 7.4.0-alpha.1 through 7.4.8 and 7.5.0 through 7.5.1 are vulnerable to XSS when an unsanitized value of the ajax URL query parameter is directly included within the <head> section of the HTML page. An attacker can execute arbitrary scripts in the context of the user's session, potentially leading to Session Hijacking, Data Theft, Defacement and Malware Distribution. This issue is fixed in versions 7.5.2, 7.4.9, 7.3.14, and 7.2.9. To work around this issue, configure a Web Application Firewall (WAF) rule (e.g., ModSecurity) to block requests containing common XSS payload characters in the ajax query parameter. Alternatively, implement server-side sanitization using middleware to strip or escape dangerous characters from the ajax parameter before it reaches the vulnerable rendering logic.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-66492?
CVE-2025-66492 is categorized as a medium severity vulnerability due to its exploitation potential leading to Cross-Site Scripting (XSS).
How do I fix CVE-2025-66492?
To fix CVE-2025-66492, update Masa CMS to version 7.2.9 or 7.3.14 and above to ensure proper sanitization of the ajax URL query parameter.
What types of applications are affected by CVE-2025-66492?
CVE-2025-66492 affects Masa CMS versions 7.2.8 and below, 7.3.1 to 7.3.13, 7.4.0-alpha.1 to 7.4.8, and 7.5.0 to 7.5.1.
What is the nature of the vulnerability in CVE-2025-66492?
CVE-2025-66492 involves an XSS vulnerability caused by unsanitized input from the ajax URL query parameter included in the HTML response.
Can CVE-2025-66492 be exploited remotely?
Yes, CVE-2025-66492 can be exploited remotely if an attacker can manipulate the ajax URL query parameter on affected Masa CMS installations.