CVE Explorer
CVE-2026-41130
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.
When `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 supply
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cms","vendor":"craftcms","versions":[{"status":"affected","version":">= 5.0.0-RC1, < 5.9.15"},{"status":"affected","version":">= 4.0.0-RC1, < 4.17.9"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:20faffed45995f82d70e473abc0b5468b212f766638a1de67cea2dcae09e4125 · sha256:148cc417afa19310… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.5,"baseSeverity":"MEDIUM","privilegesRequired":"HIGH","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:20faffed45995f82d70e473abc0b5468b212f766638a1de67cea2dcae09e4125 · sha256:148cc417afa19310… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:20faffed45995f82d70e473abc0b5468b212f766638a1de67cea2dcae09e4125 · sha256:148cc417afa19310… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783","tags":["x_refsource_MISC"],"url":"https://github.com/craftcms/cms/commit/ebe7e85f1c89700d64332f72492be2e9a594e783"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:20faffed45995f82d70e473abc0b5468b212f766638a1de67cea2dcae09e4125 · sha256:148cc417afa19310… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:20faffed45995f82d70e473abc0b5468b212f766638a1de67cea2dcae09e4125 · sha256:148cc417afa19310… · /containers/adp/0/references/0
{"name":"https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/craftcms/cms/security/advisories/GHSA-95wr-3f2v-v2wh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:20faffed45995f82d70e473abc0b5468b212f766638a1de67cea2dcae09e4125 · sha256:148cc417afa19310… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.