Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 23, 2026

CVE-2026-41130 Scanner

CVE-2026-41130 Scanner - Server-Side-Request-Forgery (SSRF) vulnerability in Craft CMS

Est. Time~1 minutes
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
3
Times Used
continuous scan runs
4.6k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
5.5
CVSSmedium
Exploitable remotely over the internet · requires high privileges.
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.

Attack Vector
Network
Privileges Req.
High
User Interaction
None
Affected
cmsby craftcms
>= 5.0.0-RC1, < 5.9.15
Updated Nov 23, 2026View on NVD →
Detail

Craft CMS is a content management system widely used by developers and agencies for creating bespoke web applications and sites. It allows for extensive customization and flexibility, making it a preferred choice for many projects where user-friendly content management is crucial. The system supports multiple user roles and extensive plugin development, making it adaptable for a wide range of web application needs. Craft CMS is known for its clean layout and intuitive interface, which simplifies the management of complex content structures compared to other systems. It is particularly popular for projects requiring rapid content updates and detailed layout control. Craft CMS also offers robust APIs for integration with various services and applications.

The Server-Side Request Forgery (SSRF) vulnerability detected in Craft CMS allows attackers to make the target server send HTTP requests to internal or external locations. This particular flaw arises from the improper validation of the URL parameter in the 'app/resource-js' action, where the server does not secure the building of URLs when the `@web` alias is absent. Unauthenticated attackers can exploit this to trick the server into fetching resources from unreliable hosts, thereby potentially disclosing sensitive infrastructure details. This vulnerability becomes exploitable notably when server configurations like `X-Forwarded-Host` are improperly set, enabling exploitation through crafted headers.

The SSRF vulnerability is present due to a misconfiguration where the server accepts arbitrary input through the `X-Forwarded-Host` header. This header is improperly used to construct base URLs without confirming their trustworthiness, resulting in the improper execution of server-side requests. Technical checks within the Craft CMS fail to restrict such unauthorized interactions when specific configurations are missing, leading to potential external request executions. The vulnerability is notable in endpoints handling administrative resource requests, particularly where URL sanitation before execution is lacking, leading to this exploit path.

Exploiting this vulnerability could let threat actors access internal services not meant to be exposed to the public internet, hence gaining insights into the internal workings of the server. It could lead to unauthorized access to cloud service metadata endpoints if those are fetchable from within the server. The consequences include exposing the internal network structure to external attackers, which can be a foothold for further attacks. Organizations might find their internal API endpoints exposed, leading to increased risks associated with data exfiltration and system compromise.

REFERENCES

Solution Advice
  • Upgrade Craft CMS to version 4.17.9 or 5.9.15, or later versions.
  • Ensure the `@web` alias is set correctly to prevent exploitation by improperly constructed URLs.
  • Review and modify your server's X-Forwarded-Host handling to blacklist unauthorized host entries.
  • Deploy Web Application Firewalls (WAFs) configured to detect and block SSRF attack patterns.
  • Audit and limit the permissions for the server to perform outgoing requests, especially for sensitive endpoints.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.