What’s Vulnerable › Vulnerabilities
CVE-2026-41130: Craft CMS has a host header injection leading to SSRF via resource-js endpoint
- Severity: medium (CVSS 5.5 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-26
- Weakness: CWE-918
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.
Affected products
- craftcms cms: from 5.0.0-RC1, < 5.9.15; from 4.0.0-RC1, < 4.17.9
References
- https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783
- https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh
- https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh
Get alerted when CVE-2026-41130 or the next vulnerability affects your stack