Craft CMS is a content management system (CMS). Versions 4.0.0-RC1 and above, prior to 4.18.0 and 5.0.0-RC1, and above, prior to 5.10.0, are vulnerable to Server-Side Request Forgery (SSRF) and Arbitrary JavaScript Injection through the /actions/app/resource-js endpoint. By exploiting the default permissive trustedHosts configuration, an attacker can poison the Host or X-Forwarded-Host header to manipulate the application’s $baseUrl. This bypasses the endpoint’s internal URL validation, forcing the backend Guzzle client to fetch a malicious payload from an attacker-controlled server and reflect it to the client with a Content-Type: application/javascript header. The vulnerability manifests when assetManager.cacheSourcePaths is set to false. This issue has been fixed in versions 4.18.0 and 5.10.0.
CVE-2026-55791
This medium-severity CVE scores 6.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 75% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.9
- EG Score
- 6.9(medium)
- EPSS
- 25.0%
- KEV
- Not listed
Published
June 19, 2026
Last Modified
July 2, 2026
Advisory Details (2)
Auto-updated Jul 3, 2026Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in actionResourceJs · Advisory · craftcms/cms · GitHub
https://github.com/craftcms/cms/security/advisories/GHSA-c55v-343g-5xffEnforce appended script ordering
Patch available: craftcms/cms 4.18.0 (PR #18559 merged 2026-04-21)
https://github.com/craftcms/cms/pull/18559Vendor Advisories for CVE-2026-55791(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| craftcms/cms | 4.0.0 ... 4.9.7 (249 versions) | 4.18 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 05:15 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 04:18 UTCEG score recompute
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 03:17 UTCEG score recompute
- 2026-07-03 02:15 UTCEG score recompute
- 2026-07-02 01:22 UTCEG score recompute▲ 6.90
- 2026-07-02 01:21 UTCNVD updateCVSS v3 → 6.9 · CVSS v4 → 6.9 · severity → MEDIUM
- 2026-06-19 21:23 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-918 · CWE-79
Frequently asked(5)
What is CVE-2026-55791?
When was CVE-2026-55791 disclosed?
Is CVE-2026-55791 actively exploited?
What is the CVSS score of CVE-2026-55791?
How do I remediate CVE-2026-55791?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-55791
Is Your Infrastructure Affected by CVE-2026-55791?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.