Server-side Request Forgery (SSRF) Affecting craftcms/cms package, versions >=4.0.0-RC1, <4.17.9>=5.0.0-RC1, <5.9.15


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CRAFTCMSCMS-16109583
  • published19 Apr 2026
  • disclosed14 Apr 2026
  • creditHuajiHD

Introduced: 14 Apr 2026

NewCVE-2026-41130  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade craftcms/cms to version 4.17.9, 5.9.15 or higher.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the actionResourceJs process. An attacker can cause the server to make arbitrary HTTP requests by supplying a malicious Host header when the trustedHosts configuration is not explicitly restricted. This is only exploitable if the application is running with the default configuration where trustedHosts is not set.

CVSS Base Scores

version 4.0
version 3.1