{"schemaVersion":3,"id":"CVE-2026-41130","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.\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.","dates":{"published":"2026-04-21T23:36:31.358Z","modified":"2026-04-22T14:18:56.067Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.5,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.5,"severity":"medium","vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00403,"percentile":0.33164,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.143,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0026},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00403,"percentile":0.33164}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0026,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00403,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00403,"percentile":0.33164}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"craftcms","product":"cms","name":"cms","label":"cms","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0-RC1, < 5.9.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0-RC1, < 4.17.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0-RC1, < 5.9.15 | ≥ 4.0.0-RC1, < 4.17.9","eol":null,"hubHref":"/vendor/craftcms/cms"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh","label":"github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783","label":"github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-21T23:36:31.358Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-22T14:18:56.067Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T08:08:23.053Z","stale":false,"partial":false}}