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.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant