Masa CMS CVE-2025-66492
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious ajax parameter URL
-
DeliveryDeliver link to victim via phishing
-
ExploitVictim opens link in authenticated session
-
ExecutionPayload reflected into HTML <head>
-
ImpactScript executes, hijacks session / steals data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that an attacker-supplied value in the 'ajax' URL query parameter be reflected unsanitized into the <head> of the rendered HTML (specifically the admin layout templates admin/common/layouts/compact.cfm and template.cfm per the patch diff). The decisive limiting factor is UI:R - a victim must actively open the attacker-crafted link within their session for the payload to execute; there is no server-side compromise without this interaction. Exploitation affects unpatched versions (7.2.8 and below, 7.3.1-7.3.13, 7.4.0-alpha.1-7.4.8, 7.5.0-7.5.1); it is neutralized by upgrading to 7.5.2, 7.4.9, 7.3.14, or 7.2.9, or by a WAF/ModSecurity rule blocking XSS characters in the ajax parameter. No attacker authentication is required to craft the payload, but the reflection occurs in admin-area templates, so realistic impact depends on luring a user who holds an active CMS session. |
| Impact | This is a CVSS 3.1 6.1 (Medium) reflected cross-site scripting flaw (CWE-79) in Masa CMS. The vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N indicates network-reachable, low-complexity exploitation requiring no attacker privileges but requiring victim user interaction (clicking a crafted link), with a scope change reflecting XSS impact into the victim's browser and limited confidentiality/integrity impact. Real-world risk signals are consistently LOW-to-MODERATE and non-conflicting: EPSS is 0.25% (15th percentile), there is no CISA KEV listing (not actively exploited), and no public exploit code is referenced. The commit evidence corroborates the description - the fix stops reflecting the request-context 'ajax' value (rc.ajax) in admin layout templates (compact.cfm, template.cfm) and switches to a server-controlled request.ajax variable - so the vulnerability is confirmed by source diff, not merely asserted. Because exploitation is non-automatable and depends on social-engineering a user into following a malicious URL, this is a genuine but not high-urgency issue: patch on a normal cadence rather than treating as an emergency. No key data is contradictory; the main unknown is whether the reflected admin-layout pages require the victim to already hold an authenticated admin session, which would further narrow the realistic victim pool. |
| Exploit ScenarioDerived | An attacker crafts a URL to a Masa CMS page with a malicious script payload in the 'ajax' query parameter and lures a victim (via phishing email or malicious link) into opening it. Because the unsanitized parameter is echoed into the HTML <head>, the script executes in the victim's authenticated session, enabling session hijacking, data theft, or defacement. No public exploit code is identified at time of analysis, though the one-parameter reflection is trivial to reproduce from the public patch diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Reflected cross-site scripting in Masa CMS allows an attacker to execute arbitrary JavaScript in the browser context of a logged-in CMS user by supplying a crafted value in the 'ajax' URL query parameter, which the application renders unsanitized inside the <head> section of the HTML page. The flaw is scoped to unpatched releases (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) and is constrained by user interaction: a victim must be lured into opening the attacker-crafted link while holding an active session, after which the injected script can hijack the session, steal data, deface pages, or serve malware. No public exploit code has been identified at time of analysis, and EPSS is low at 0.25% (15th percentile), though vendor fixes are already available.
RemediationAI
Vendor-released patches are available: upgrade to Masa CMS 7.5.2 (current 7.5.x line), 7.4.9, 7.3.14, or 7.2.9, matching whichever maintenance branch is deployed; these releases are the authoritative fix and are referenced by the GitHub Security Advisory GHSA-249c-vqwv-43vc and commit 376c27196b1e2489888b7a000cdf5c45bb85959e (see https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-249c-vqwv-43vc). If upgrading is not immediately possible, the vendor-recommended compensating control is a Web Application Firewall rule (for example ModSecurity) that blocks requests carrying common XSS payload characters in the 'ajax' query parameter; the trade-off is potential false positives on legitimate administrative URLs that use angle brackets, quotes, or script-like substrings in that parameter, and WAF coverage will not protect traffic that bypasses the proxy. A second workaround is to add server-side sanitization middleware that strips or HTML/JavaScript-escapes dangerous characters from the 'ajax' parameter before it reaches the vulnerable rendering logic, though this requires custom code that must be maintained across upgrades and could alter expected query-string behavior in the admin UI. Restricting or network-isolating the administrative interface reduces exposure but does not by itself eliminate the flaw for legitimate admin users, and since exploitation requires a victim to open an attacker-supplied link, user awareness and link-scrutiny measures serve only as secondary layers, not replacements for patching.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a classic reflected cross-site scripting issue (CWE-79) in the CFML/Lucee-based Masa CMS platform (a GPLv2 fork of Mura CMS). The root cause is improper neutralization of user-supplied input during web page generation: the value of the 'ajax' URL query parameter is taken from the request context and emitted directly into the <head> element without HTML/JavaScript encoding, so an attacker-controlled string becomes executable markup in the response. The vendor patch (commit 376c27196b1e2489888b7a000cdf5c45bb85959e) demonstrates the underlying defect: admin/Application.cfc previously populated 'request.context.ajax' and the admin layout templates (admin/common/layouts/compact.cfm and admin/common/layouts/template.cfm) printed it via '#rc.ajax#', so the raw query-string value flowed straight into the page head; the fix rebinds the variable to the 'request.ajax' scope and switches the templates to '#request.ajax#', removing the unsanitized pass-through. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N indicates a network-reachable, low-complexity reflection requiring no attacker authentication but requiring victim interaction, with the vulnerable component boundary change (S:C) and limited confidentiality and integrity impact. The registered CPE entries (cpe:2.3:a:masacms:masacms) are generic and do not encode version granularity, so version scoping must come from the vendor advisory rather than CPE matching.
Know when Masacms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Standard reflected XSS: network-delivered link, no attacker privileges (PR:N), victim must click (UI:R), scope changes into the browser (S:C) with limited C/I and no availability impact.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)NVD
Masa CMS is an open source Enterprise Content Management platform. Masa CMS versions prior to 7.2.8, 7.3.13, and 7.4.6 a
Masa CMS is an open source Enterprise Content Management platform. Prior to 7.2.8, 7.3.13, and 7.4.6, there is vulnerabl
Masa CMS is an open source Enterprise Content Management platform. Prior to 7.2.8, 7.3.13, and 7.4.6, if the URL to the
SQL injection in Masa CMS beanFeed.cfc allows unauthenticated remote attackers to extract sensitive database contents, m
SQL injection in Masa CMS 7.5.2 and earlier allows unauthenticated remote attackers to execute arbitrary SQL commands vi
SQL injection in Masa CMS 7.2.x through 7.5.2 allows unauthenticated remote attackers to extract sensitive database cont
Open redirect vulnerability in Masa CMS allows unauthenticated remote attackers to craft malicious URLs on trusted Masa
NVD
CVE.org
EPSS
GitHub
Exploit-DB