What’s Vulnerable › Vulnerabilities
CVE-2021-21398: Possible XSS injection through DataColumn Grid class
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-30 · updated 2026-06-17
- Weakness: CWE-79
Description
PrestaShop is a fully scalable open source e-commerce solution. In PrestaShop before version 1.7.7.3, an attacker can inject HTML when the Grid Column Type DataColumn is badly used. The problem is fixed in 1.7.7.3
Affected products
- PrestaShop: from 1.7.7.0 before 1.7.7.3 — fixed in 1.7.7.3
How to fix
Upgrade to a fixed version: PrestaShop 1.7.7.3. Check the vendor advisory for mitigations.
References
- https://github.com/PrestaShop/PrestaShop/commit/aaaba8177f3b3c510461b5e3249e30e60f900205
- https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.7.3
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-fhhq-4x46-qx77
- https://github.com/PrestaShop/PrestaShop/commit/aaaba8177f3b3c510461b5e3249e30e60f900205
- https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.7.3
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-fhhq-4x46-qx77
Get alerted when CVE-2021-21398 or the next vulnerability affects your stack