# CVE-2021-21398: Possible XSS injection through DataColumn Grid class

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2021-03-30T15:25:13.000Z
- Modified: 2026-06-17T03:35:29.283Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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

(As written by CVE List.)

## Affected

- PrestaShop PrestaShop: >= 1.7.7.0, < 1.7.7.3; from 1.7.7.0 before 1.7.7.3

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-fhhq-4x46-qx77> (third-party-advisory)
- <https://github.com/PrestaShop/PrestaShop/commit/aaaba8177f3b3c510461b5e3249e30e60f900205> (patch, third-party-advisory)
- <https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.7.3> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-21398](https://www.cve.org/CVERecord?id=CVE-2021-21398), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21398](https://nvd.nist.gov/vuln/detail/CVE-2021-21398), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21398 · Whole record: https://cve.day/CVE-2021-21398.json · Rebuilt by cve.day 2026-11-25T22:58:00.505Z
