{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "5.0.0-RC1"
              },
              {
                "fixed": "5.9.15"
              },
              {
                "introduced": "4.0.0-RC1"
              },
              {
                "fixed": "4.17.9"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
            },
            {
              "fixed": "84d783586bf0abf619a9d1909d93fdfdcaaf73a4"
            },
            {
              "introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
            },
            {
              "fixed": "ade6b5b843c82df6ac1661c453f1812294bdbef7"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-95wr-3f2v-v2wh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41130.json"
  },
  "details": "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. \nWhen `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.",
  "id": "CVE-2026-41130",
  "modified": "2026-07-15T01:49:18.719578772Z",
  "published": "2026-04-21T23:36:31.358Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41130.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41130"
    },
    {
      "type": "FIX",
      "url": "https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Craft CMS has a host header injection leading to SSRF via resource-js endpoint"
}