CVE-2026-41130

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductCraftcms/cms
PublishedApr 22, 2026
First seenApr 22, 2026

How to fix

Update
  • craftcms/cms5.9.15, 4.17.9 or later

Affected products

ProductAffected versionsFixed in
craftcms/cmsPackagist5.0.0-RC1 ≤ v < 5.9.15, 4.0.0-RC1 ≤ v < 4.17.95.9.15, 4.17.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.