CVE-2013-4791:
PrestaShop Stored Cross-Site Scripting Vulnerability
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.43188%
CWE
Published
5/5/2022
Updated
8/28/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
prestashop/prestashop | composer | < 1.4.11 | 1.4.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues: 1) Insufficient input sanitization when saving TinyMCE-generated content (handled by AdminCmsContentController's save process), and 2) Improper TinyMCE configuration allowing event attributes. Low-privileged users could inject XSS via TinyMCE's HTML mode, and the lack of output encoding when rendering stored content exacerbated the issue. The fix in v1.4.11 likely involved updating TinyMCE and adding server-side sanitization.