craftcms/cms is vulnerable to Cross-site Scripting (XSS)
41
Medium Risk
Affected versions of this package are vulnerable to client-side injection attacks due to unsanitized return URLs stored in the user session. An attacker could craft a malicious URL and pass it as the returnUrl parameter, which would then be stored in the session and later used for rendering. If the application blindly trusts this URL, it could lead to arbitrary JavaScript execution or trick users into visiting a malicious site.
You are affected if you are using a version that falls within the vulnerable range.
craftcms/cms is vulnerable to Cross-site Scripting (XSS) in versions 3.1.1 - 4.15.2 and 5.0.0 - 5.7.4.
Upgrade the craftcms/cms library to the patch version.
Secure your code, cloud, and runtime environments in one central system. Find and fix vulnerabilities automatically.
No credit card required | Scan results in 32secs.
SOC 2Compliant
ISO 27001Compliant