Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 84%

CVE-2026-41130: CWE-918: Server-Side Request Forgery (SSRF) in craftcms cms

0
Medium
VulnerabilityCVE-2026-41130cvecve-2026-41130cwe-918
Published: Tue Apr 21 2026 (04/21/2026, 23:36:31 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

Description

Craft CMS versions 4. x through 4. 17. 8 and 5. x through 5. 9. 14 contain a Server-Side Request Forgery (SSRF) vulnerability in the resource-js endpoint. This vulnerability arises when the trustedHosts configuration is not explicitly restricted, allowing the application to trust a client-supplied Host header. An attacker can exploit this to control the baseUrl used in prefix validation, causing the server to make arbitrary HTTP requests. Versions 4.

CVSS v4.0

Score 5.5medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 11:28:51 UTC

Technical Analysis

CVE-2026-41130 is an SSRF vulnerability in Craft CMS affecting versions 4.0.0-RC1 up to 4.17.8 and 5.0.0-RC1 up to 5.9.14. The vulnerability exists in the resource-js endpoint, which proxies remote JavaScript resources. When the trustedHosts setting is left at its default (unrestricted), the server trusts the client-supplied Host header. This allows an attacker to manipulate the baseUrl used in prefix validation inside the actionResourceJs() function, enabling the server to issue arbitrary HTTP requests to attacker-controlled or internal resources. This flaw is patched in versions 4.17.9 and 5.9.15.

Potential Impact

Successful exploitation allows an unauthenticated attacker to cause the server to make arbitrary HTTP requests, potentially accessing internal or protected resources. This can lead to information disclosure or interaction with internal services not otherwise accessible. The CVSS 4.0 score is 5.5 (medium severity), reflecting network attack vector, no user interaction, and partial impact on confidentiality and integrity.

Mitigation Recommendations

A fix is available in Craft CMS versions 4.17.9 and 5.9.15. Users should upgrade to these or later versions to remediate the vulnerability. If upgrading is not immediately possible, explicitly restricting the trustedHosts configuration to trusted domains can mitigate the risk by preventing the server from trusting arbitrary Host headers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-17T12:59:15.737Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e80c4119fe3cd2cd06bb1d

Added to database: 4/21/2026, 11:46:09 PM

Last enriched: 4/29/2026, 11:28:51 AM

Last updated: 6/6/2026, 2:43:11 AM

Views: 74

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses