Vulnerability Details : CVE-2023-30838
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 visitor/administrator, which makes it as dangerous as a trivial XSS attack. Contrary to other attacks which target HTML attributes and are triggered without user interaction (such as onload / onerror which suffer from a very limited scope), this one can hijack every HTML element, which increases the danger due to a complete HTML elements scope. Versions 8.0.4 and 1.7.8.9 contain a fix for this issue.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2023-30838
- cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*
- cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-30838
0.29%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 70 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-30838
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.9
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
3.1
|
6.0
|
NIST | |
8.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
1.8
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-30838
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-30838
-
https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-fh7r-996q-gvcp
Possible XSS injection through Validate::isCleanHTML method · Advisory · PrestaShop/PrestaShop · GitHubVendor Advisory
-
https://github.com/PrestaShop/PrestaShop/commit/46408ae4b02f3b8b1bb6e9dc63af5bcd858abd9c
Merge pull request from GHSA-fh7r-996q-gvcp · PrestaShop/PrestaShop@46408ae · GitHubPatch
-
https://github.com/PrestaShop/PrestaShop/commit/dc682192df0e4b0d656a8e645b29ca1b9dbe3693
Merge pull request from GHSA-fh7r-996q-gvcp · PrestaShop/PrestaShop@dc68219 · GitHubPatch
Jump to