CVE-2026-41130 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in Craft CMS versions 4.x prior to 4.17.9 and 5.x prior to 5.9.15. The issue arises in the 'resource-js' endpoint, which allows unauthenticated requests to proxy remote JavaScript resources. When the 'trustedHosts' configuration is not explicitly set (default behavior), the application accepts the client-supplied Host header. This acceptance enables an attacker to manipulate the 'baseUrl' used for validation in the 'actionResourceJs()' function. By sending a malicious Host header, the attacker can cause the server to make arbitrary HTTP requests, exploiting the application for SSRF.
Users can update to Craft CMS versions 4.17.9 or 5.9.15, which patch this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 22, 2026CISA-ADP
Assessed Apr 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783 | [email protected] | Source CodeVendor |
| https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Craft CMS | >= 5.0.0-RC1, <= 5.9.14 (semver) >= 4.0.0-RC1, <= 4.17.8 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | New CVE Received | [email protected] |
Volerion