CVE-2026-55791
Last modified
CVE-2026-55791 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. Craft CMS is a content management system (CMS). Versions 4.0.0-RC1 and above, prior to 4.18.0 and 5.0.0-RC1, and above, prior to 5.10.0, are vulnerable to Server-Side Request Forgery (SSRF) and Arbitrary JavaScript Injection through the /actions/app/resource-js endpoint. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Craft CMS is a content management system (CMS). Versions 4.0.0-RC1 and above, prior to 4.18.0 and 5.0.0-RC1, and above, prior to 5.10.0, are vulnerable to Server-Side Request Forgery (SSRF) and Arbitrary JavaScript Injection through the /actions/app/resource-js endpoint. By exploiting the default permissive trustedHosts configuration, an attacker can poison the Host or X-Forwarded-Host header to manipulate the application’s $baseUrl. This bypasses the endpoint’s internal URL validation, forcing the backend Guzzle client to fetch a malicious payload from an attacker-controlled server and reflect it to the client with a Content-Type: application/javascript header. The vulnerability manifests when assetManager.cacheSourcePaths is set to false. This issue has been fixed in versions 4.18.0 and 5.10.0.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms | >= 5.0.0-RC1, < 5.10.0; >= 4.0.0-RC1, < 4.18.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-55791?
How severe is CVE-2026-55791?
How do I fix CVE-2026-55791?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-55781NanaZip is the 7-Zip derivative intended for the modern Wind…2.4
- CVE-2026-55782NanaZip is the 7-Zip derivative intended for the modern Wind…2.4
- CVE-2026-55783NanaZip is the 7-Zip derivative intended for the modern Wind…2.4
- CVE-2026-55789Logto is the modern, open-source auth infrastructure for Saa…8.5
- CVE-2026-5579A vulnerability was determined in CodeAstro Online Classroom…6.3
- CVE-2026-55790Craft CMS is a content management system (CMS). In versions …7.4
- CVE-2026-55792Craft CMS is a content management system (CMS). In versions …6
- CVE-2026-55793Craft CMS is a content management system (CMS). In versions …5.9
- CVE-2026-55794Craft CMS is a content management system (CMS). In versions …8.7
- CVE-2026-55798Pillow is a Python imaging library. Prior to 12.3.0, Windows…4.5
- CVE-2026-55799Remote Code Execution Vulnerability in GraalScriptEngineCrea…9.8
- CVE-2026-5580A vulnerability was identified in CodeAstro Online Classroom…6.3
Are you affected by CVE-2026-55791?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
