Advisory record · GHSA-95wr-3f2v-v2wh

Craft CMS has a host header injection leading to SSRF via resource-js endpoint

CVSS 5.5 MediumEPSS 0.0033 · 26th percentile

Published by the GitHub Advisory Database at 14 Apr 2026, 23:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=5.0.0-RC1, <5.9.15 || >=4.0.0-RC1, <4.17.95.9.15, 4.17.9
Identifiers
GHSA-95wr-3f2v-v2wh · CVE-2026-41130 · PKSA-ntd3-69q5-4cfy
Weakness (CWE)
CWE-918
Published
14 Apr 2026
Updated
5 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS versions 4.0.0-RC1 up to 4.17.9 and 5.0.0-RC1 up to 5.9.15 are affected through the resource-js endpoint, which proxies remote JavaScript resources and can be reached without authentication when trustedHosts is not restricted. An unauthenticated attacker can send a forged Host header so the server accepts an arbitrary URL and makes requests to hosts of their choosing, which is a server-side request forgery. Upgrade to Craft CMS 4.17.9 or 5.9.15, or later. As a workaround, set trustedHosts to the hostnames your site should serve.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 26th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.