CVE-2023-30838
PHP vulnerability analysis and mitigation

Overview

PrestaShop, an Open Source e-commerce web application, disclosed a cross-site scripting (XSS) vulnerability tracked as CVE-2023-30838. The vulnerability was discovered in the ValidateCore::isCleanHTML() method and affects versions prior to 8.0.4 and 1.7.8.9. The issue was publicly disclosed on April 25, 2023 (PrestaShop Advisory).

Technical details

The vulnerability stems from the ValidateCore::isCleanHTML() method missing hijackable events that can lead to XSS injection through pre-setup @keyframes methods. The severity of this vulnerability is rated as HIGH with a CVSS v3.1 base score of 8.5 according to GitHub's assessment, while the NVD rates it as CRITICAL with a score of 9.9 (NVD).

Impact

This XSS vulnerability is particularly dangerous as it can be triggered without any user interaction from visitors or administrators. Unlike typical XSS attacks that target specific HTML attributes with limited scope (such as onload/onerror), this vulnerability can hijack any HTML element, significantly increasing its potential impact (PrestaShop Advisory).

Mitigation and workarounds

The vulnerability has been patched in PrestaShop versions 8.0.4 and 1.7.8.9. No workarounds are available, making it crucial for users to upgrade to the patched versions (PrestaShop Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management