craftcms/cms is vulnerable to Cross-site Scripting (XSS)
55
Medium Risk
Affected versions of this package are vulnerable to cross-site scripting because user-controlled values could be rendered into HTML output without proper encoding, allowing injected markup or script content to execute in a victim’s browser. In Craft CMS, this meant that crafted input could be reflected or stored and then executed when affected templates or views were rendered. The referenced commit fixes the issue by ensuring that untrusted data is correctly escaped before being included in HTML output, preventing script execution 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.16.17 and 5.0.0 - 5.8.21.
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