Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2024-21628
Summary
PrestaShop is an open-source e-commerce platform. Prior to version 8.1.3, the "isCleanHtml" method is not used on this form, which makes it possible to store a Cross-site Scripting payload in the database. The impact is low because the HTML is not interpreted in BO, thanks to twig's escape mechanism. In FO, the cross-site scripting attack is effective but only impacts the customer sending it, or the customer session from which it was sent. This issue affects those with a module fetching these messages from the DB and displaying it without escaping HTML.
- LOW
- NETWORK
- LOW
- CHANGED
- REQUIRED
- NONE
- LOW
- NONE
CWE-79 - Cross Site Scripting
Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.
References
Advisory Timeline
- Published