craftcms/cms is vulnerable to Cross-site Scripting (XSS)
35
Low Risk
Affected versions of this package are vulnerable to cross-site scripting (XSS). The returnUrl value in the setReturnUrl function is not properly validated, allowing URLs with unsafe schemes to be supplied and later used in redirects. This can allow attackers to inject malicious content or execute script code in the user’s browser.
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.5.0 - 4.17.2 and 5.0.0 - 5.9.6.
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