craftcms/commerce is vulnerable to Cross-site Scripting (XSS)
36
CVE Score
Low
Cross-site Scripting (XSS)
Affected versions of this package are vulnerable to cross-site scripting (XSS) in the Order element. In the getMetadata() method of the src/elements/Order.php class, several metadata fields such as reference, couponCode, order site, shipping method, and origin are included in the output without proper HTML encoding. This allows attackers to inject malicious HTML or script content that executes in the user’s browser when the metadata is rendered.
Upgrade the craftcms/commerce library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.0.0 - 4.10.1
Fixed in 4.10.25.0.0 - 5.5.2
Fixed in 5.5.3craftcms/commerce is vulnerable to Cross-site Scripting (XSS) in versions 3.0.0 - 4.10.1 and 5.0.0 - 5.5.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.