PrestaShop CVE-2024-21627 vulnerability
Core
Score
8.1 HighDate publish
02-01-2024Versiones afectadas
- Less than 1.7.8.11
- Versions from 8.0.0 up to but not including 8.1.3
Description
PrestaShop is an open-source e-commerce platform. Prior to versions 8.1.3 and 1.7.8.11, some event attributes are not detected by the `isCleanHTML` method. Some modules using the `isCleanHTML` method could be vulnerable to cross-site scripting. Versions 8.1.3 and 1.7.8.11 contain a patch for this issue. The best workaround is to use the `HTMLPurifier` library to sanitize html input coming from users. The library is already available as a dependency in the PrestaShop project. Beware though that in legacy object models, fields of `HTML` type will call `isCleanHTML`.References
Metrics
| cvssMetricV31 | |||||
|---|---|---|---|---|---|
| source | security-advisories@github.com | nvd@nist.gov | |||
| type | Secondary | Primary | |||
| version | 3.1 | 3.1 | |||
| vectorString | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | |||
| baseScore | 8.1 | 6.1 | |||
| baseSeverity | HIGH | MEDIUM | |||
| attackVector | NETWORK | NETWORK | |||
| attackComplexity | LOW | LOW | |||
| privilegesRequired | HIGH | NONE | |||
| userInteraction | REQUIRED | REQUIRED | |||
| scope | CHANGED | CHANGED | |||
| confidentialityImpact | HIGH | LOW | |||
| integrityImpact | HIGH | LOW | |||
| availabilityImpact | NONE | NONE | |||
| exploitabilityScore | 1.7 | 2.8 | |||
| impactScore | 5.8 | 2.7 | |||
