Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-55791
Published:July 01, 2026
Updated:July 21, 2026
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.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=4.0.0 <4.18.1
Fix Suggestion:
Update to version 4.18.1
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=5.0.0 <5.10.0
Fix Suggestion:
Update to version 5.10.0
craftcms/cms (PHP):
Affected version(s) >=5.0.0 <5.10.0
Fix Suggestion:
Update to version 5.10.0
craftcms/cms (PHP):
Affected version(s) >=4.0.0 <4.18.0
Fix Suggestion:
Update to version 4.18.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Origin Validation Error
Server-Side Request Forgery (SSRF)
Improper Neutralization of HTTP Headers for Scripting Syntax
EPSS
Base Score:
0.33