Input validation error in Craft CMS - CVE-2026-41130

 

Input validation error in Craft CMS - CVE-2026-41130

Published: June 16, 2026


Vulnerability identifier: #VU134669
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-41130
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pixel & Tonic, Inc.
Affected software:
Craft CMS

Detailed vulnerability description

The vulnerability allows a remote attacker to perform server-side request forgery.

The vulnerability exists due to improper input validation in AppController::actionResourceJs() when handling requests to the resource-js endpoint with a crafted Host header and url parameter. A remote attacker can send a specially crafted request to perform server-side request forgery.

Exploitation requires the default configuration where trustedHosts is not explicitly restricted.


How to mitigate CVE-2026-41130

Install security update from vendor's website.

Sources