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 vulnerability arises when the trustedHosts configuration is not explicitly restricted, allowing the application to trust a client-supplied Host header. An attacker can exploit this to control the baseUrl used in prefix validation, causing the server to make arbitrary HTTP requests. Versions 4.
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 exists in the resource-js endpoint, which proxies remote JavaScript resources. When the trustedHosts setting is left at its default (unrestricted), the server trusts the client-supplied Host header. This allows an attacker to manipulate the baseUrl used in prefix validation inside the actionResourceJs() function, enabling the server to issue arbitrary HTTP requests to attacker-controlled or internal resources. This flaw is patched in versions 4.17.9 and 5.9.15.
Potential Impact
Successful exploitation allows an unauthenticated attacker to cause the server to make arbitrary HTTP requests, potentially accessing internal or protected resources. This can lead to information disclosure or interaction with internal services not otherwise accessible. The CVSS 4.0 score is 5.5 (medium severity), reflecting network attack vector, no user interaction, and partial impact on confidentiality and integrity.
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 vulnerability. If upgrading is not immediately possible, explicitly restricting the trustedHosts configuration to trusted domains can mitigate the risk by preventing the server from trusting arbitrary Host headers.
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 vulnerability arises when the trustedHosts configuration is not explicitly restricted, allowing the application to trust a client-supplied Host header. An attacker can exploit this to control the baseUrl used in prefix validation, causing the server to make arbitrary HTTP requests. Versions 4.
CVSS v4.0
Score 5.5medium
Weaknesses
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 exists in the resource-js endpoint, which proxies remote JavaScript resources. When the trustedHosts setting is left at its default (unrestricted), the server trusts the client-supplied Host header. This allows an attacker to manipulate the baseUrl used in prefix validation inside the actionResourceJs() function, enabling the server to issue arbitrary HTTP requests to attacker-controlled or internal resources. This flaw is patched in versions 4.17.9 and 5.9.15.
Potential Impact
Successful exploitation allows an unauthenticated attacker to cause the server to make arbitrary HTTP requests, potentially accessing internal or protected resources. This can lead to information disclosure or interaction with internal services not otherwise accessible. The CVSS 4.0 score is 5.5 (medium severity), reflecting network attack vector, no user interaction, and partial impact on confidentiality and integrity.
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 vulnerability. If upgrading is not immediately possible, explicitly restricting the trustedHosts configuration to trusted domains can mitigate the risk by preventing the server from trusting arbitrary Host headers.
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/29/2026, 11:28:51 AM
Last updated: 6/6/2026, 2:43:11 AM
Views: 74
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.