Skip to main content

Masa CMS CVE-2025-66492

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 security-advisories@github.com
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious ajax parameter URL
  2. Delivery
    Deliver link to victim via phishing
  3. Exploit
    Victim opens link in authenticated session
  4. Execution
    Payload reflected into HTML <head>
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche open-source CFML CMS, limited enterprise deployment footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:masacms:masacms:*:*:*:*:*:*:*:*
cpe:2.3:a:masacms:masacms:*:*:*:*:*:*:*:*
cpe:2.3:a:masacms:masacms:*:*:*:*:*:*:*:*
cpe:2.3:a:masacms:masacms:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy