CVE-2026-41130: CWE-918: Server-Side Request Forgery (SSRF) in craftcms cms
Craft CMS versions 4. x through 4. 17. 8 and 5. x through 5. 9. 14 contain a Server-Side Request Forgery (SSRF) vulnerability in the `resource-js` endpoint. This endpoint allows unauthenticated requests to proxy remote JavaScript resources. When the `trustedHosts` configuration is not explicitly restricted, the server trusts the client-supplied Host header, enabling an attacker to manipulate the `baseUrl` used in prefix validation. This manipulation allows the server to make arbitrary HTTP requests.
AI Analysis
Technical Summary
CVE-2026-41130 is an SSRF vulnerability in Craft CMS affecting versions 4.0.0-RC1 up to 4.17.8 and 5.0.0-RC1 up to 5.9.14. The vulnerability arises because the `resource-js` endpoint accepts unauthenticated requests and relies on the client-supplied Host header to derive a `baseUrl` for prefix validation. If `trustedHosts` is not configured to restrict allowed hosts, an attacker can supply a malicious Host header to cause the server to issue arbitrary HTTP requests, potentially accessing internal or protected resources. The issue is fixed in versions 4.17.9 and 5.9.15.
Potential Impact
An attacker can exploit this vulnerability to make the Craft CMS server perform arbitrary HTTP requests to internal or external systems. This can lead to information disclosure or interaction with internal services that are not directly accessible to the attacker. The CVSS 4.0 score is 5.5 (medium severity), indicating a moderate risk without requiring user interaction or privileges but with some complexity and limited impact scope.
Mitigation Recommendations
A fix is available in Craft CMS versions 4.17.9 and 5.9.15. Users should upgrade to these or later versions to remediate the SSRF vulnerability. Additionally, administrators should explicitly configure the `trustedHosts` setting to restrict allowed Host headers, reducing the risk of exploitation. Patch status is confirmed by the version updates noted in the advisory.
CVE-2026-41130: CWE-918: Server-Side Request Forgery (SSRF) in craftcms cms
Description
Craft CMS versions 4. x through 4. 17. 8 and 5. x through 5. 9. 14 contain a Server-Side Request Forgery (SSRF) vulnerability in the `resource-js` endpoint. This endpoint allows unauthenticated requests to proxy remote JavaScript resources. When the `trustedHosts` configuration is not explicitly restricted, the server trusts the client-supplied Host header, enabling an attacker to manipulate the `baseUrl` used in prefix validation. This manipulation allows the server to make arbitrary HTTP requests.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-41130 is an SSRF vulnerability in Craft CMS affecting versions 4.0.0-RC1 up to 4.17.8 and 5.0.0-RC1 up to 5.9.14. The vulnerability arises because the `resource-js` endpoint accepts unauthenticated requests and relies on the client-supplied Host header to derive a `baseUrl` for prefix validation. If `trustedHosts` is not configured to restrict allowed hosts, an attacker can supply a malicious Host header to cause the server to issue arbitrary HTTP requests, potentially accessing internal or protected resources. The issue is fixed in versions 4.17.9 and 5.9.15.
Potential Impact
An attacker can exploit this vulnerability to make the Craft CMS server perform arbitrary HTTP requests to internal or external systems. This can lead to information disclosure or interaction with internal services that are not directly accessible to the attacker. The CVSS 4.0 score is 5.5 (medium severity), indicating a moderate risk without requiring user interaction or privileges but with some complexity and limited impact scope.
Mitigation Recommendations
A fix is available in Craft CMS versions 4.17.9 and 5.9.15. Users should upgrade to these or later versions to remediate the SSRF vulnerability. Additionally, administrators should explicitly configure the `trustedHosts` setting to restrict allowed Host headers, reducing the risk of exploitation. Patch status is confirmed by the version updates noted in the advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-17T12:59:15.737Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e80c4119fe3cd2cd06bb1d
Added to database: 4/21/2026, 11:46:09 PM
Last enriched: 4/22/2026, 12:01:05 AM
Last updated: 4/22/2026, 1:04:09 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.