All vulnerabilities

Servers and applications

CVE-2023-30838

Possible XSS injection through Validate::isCleanHTML method

Severity
Critical 9.9
Published
25 Apr 2023
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.7.8.9, 8.0.4
Also known as
GHSA-fh7r-996q-gvcp
Sources
NVD, Project advisories (GitHub)

Description

PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the `ValidateCore::isCleanHTML()` method of Prestashop misses hijackable events which can lead to cross-site scripting (XSS) injection, allowed by the presence of pre-setup `@keyframes` methods. This XSS, which hijacks HTML attributes, can be triggered without any interaction by the…

Affected software

SoftwareAffected versions
PrestaShopServers and applications · cpe:a:prestashop:prestashop
  • Every version before 1.7.8.9
  • From 8.0.0 before 8.0.4
PrestaShopServers and applications · github:prestashop/prestashop
  • Every version before 1.7.8.9

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-30838
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-30838
  • GitHub Advisory Database https://github.com/advisories/GHSA-fh7r-996q-gvcp
  • github.com https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-fh7r-996q-gvcp