Medium severity · published Apr 21, 2026
CVE-2026-41130
Craft CMS has a host header injection leading to SSRF via resource-js endpoint
5.5
CVSS
0.3%
EPSS
No
On KEV
Description
Craft CMS is a content management system (CMS). In versions on the 4.x branch through 4.17.8 and the 5.x branch through 5.9.14, the `resource-js` endpoint in Craft CMS allows unauthenticated requests to proxy remote JavaScript resources.
When `trustedHosts` is not explicitly restricted (default configuration), the application trusts the client-supplied Host header. This allows an attacker to control the derived `baseUrl`, which is used in prefix validation inside `actionResourceJs()`. By supplying a malicious Host header, the attacker can make the server issue arbitrary HTTP requests, leading to Server-Side Request Forgery (SSRF). Versions 4.17.9 and 5.9.15 patch the issue.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
cms · craftcms
>= 5.0.0-RC1, < 5.9.15; >= 4.0.0-RC1, < 4.17.9 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-41130
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-41130
github.com
https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783
github.com
https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh
More from cms
10.0
CVE-2025-32432
Craft CMS Allows Remote Code Execution
9.8
CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
8.1
CVE-2025-23209
Potential RCE with a compromised security key in craft/cms
9.8
CVE-2026-112776
Craft CMS 5.0.0 before 5.11.0 GraphQL Site-Scope Bypass via Mutations
9.8
CVE-2026-84795
Craft CMS before 5.10.11 Authentication Bypass via Admin Flag Inheritance
