CVE-2026-40332: Masa CMS - Open Redirect
- Cve: CVE-2026-40332
- Name: Masa CMS - Open Redirect
- Description: Masa CMS is affected by an Open Redirect vulnerability due to improper handling of scheme-relative URLs. The application incorrectly interprets paths beginning with double slashes (//) as internal paths, failing to validate the redirect target before processing. The application treats these values as internal paths and processes them without confirming that the redirect target remains on the local site. An attacker can craft a URL on the trusted Masa CMS domain that redirects a victim to an external attacker-controlled site. This can be used for phishing and, in some authentication flows, may expose tokens or other sensitive data to the external site. This issue has been fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. As a workaround, reject or rewrite redirect parameters that begin with // and consider disabling forceDirectoryStructure if compatible with the deployment.
- Impact: Attackers can redirect users to malicious sites, enabling phishing and potential exposure of sensitive tokens.
- Remediation: Update to versions 7.2.10, 7.3.15, 7.4.10, or 7.5.3 or later.
- Vulnerability type: open_redirect
- Vulnerability impact: open_redirect
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00328
- Epss percentile: 0.26403
- Assignee: [email protected]
- Published at: 2026-05-06T21:16:01Z
- Age in days: 202
- Modified at: 2026-06-17T10:45:07Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40332
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-601 | URL Redirection to Untrusted Site |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-xw99-h3mw-wj47 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| masacms:masacms | >= 7.5.0, < 7.5.3; >= 7.4.0, < 7.4.10; >= 7.3.0, < 7.3.15; < 7.2.10 | no | cna_alias_text | /v1/products/masacms/masacms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| MasaCMS/MasaCMS | security_advisory | yes | /v1/repositories/MasaCMS/MasaCMS |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 90
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports