Server-Side Request Forgery Vulnerability in Craft CMS by Pixel & Tonic
CVE-2026-41130
What is CVE-2026-41130?
Craft CMS, a popular content management system, is vulnerable to Server-Side Request Forgery (SSRF) due to the resource-js endpoint allowing unauthenticated requests to proxy remote JavaScript resources. When the trustedHosts setting is not explicitly restricted (which is the default configuration), the application relies on the client-supplied Host header. This trust enables an attacker to manipulate the baseUrl used in prefix validation. By sending a malicious Host header, the attacker can force the server to issue arbitrary HTTP requests, potentially exposing sensitive data or conducting further exploitative actions. This issue has been addressed in versions 4.17.9 and 5.9.15.
Affected Version(s)
cms >= 5.0.0-RC1, < 5.9.15 < 5.0.0-RC1, 5.9.15
cms >= 4.0.0-RC1, < 4.17.9 < 4.0.0-RC1, 4.17.9
