Tóm tắt nhanh
- CVE-2024-21627 là lỗ hổng mức TRUNG BÌNH (CVSS 6.1) ảnh hưởng prestashop/prestashop, prestashop (prestashop).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.52%, cao hơn 44.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 8.1.3, 1.7.8.11 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| prestashop/prestashop Packagist | ≥ 8.0.0-beta.1, < 8.1.3< 1.7.8.11
| 8.1.31.7.8.11
|
| prestashop | ≥ 8.0.0, < 8.1.3< 1.7.8.11
| 8.1.31.7.8.11
|
Mô tả
Description
Some event attributes are not detected by the isCleanHTML method
Impact
Some modules using the isCleanHTML method could be vulnerable to xss
Patches
8.1.3, 1.7.8.11
Workarounds
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.
Reporters
Reported by Antonio Russo (@Antonio-R1 on GitHub) and Antonio Rocco Spataro (@antoniospataro on GitHub).
Mô tả của NVD
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`.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí