8.7high
Reflected XSS in PrestaShop Product Comments
- Severity
- 8.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.89% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-58w4-w77w-qv3w
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PrestaShop productcomments | >= 4.0.0, < 4.2.0 | CVE List |
| prestashop/productcomments (Packagist) | from 4.0.0 before 4.2.0 | GitHub Advisory Database |
| prestashop product_comments | from 4.0.0 before 4.2.0 | NVD |
All scores
| GitHub_M | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 8.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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
GitHub Advisory Database
Impact
An attacker could inject malicious web code into the users' web browsers by creating a malicious link.
Patches
The problem is fixed in 4.2.0
References
NVD (es)
En PrestaShop Product Comments versiones anteriores a 4.2.0, un atacante podía inyectar código web malicioso en los navegadores web de los usuarios al crear un enlace malicioso. El problema se introdujo en la versión 4.0.0 y es corregido en la versión 4.2.0
References
| https://github.com/PrestaShop/productcomments/security/advisories/GHSA-58w4-w77w-qv3w | third-party-advisory, web | |
| https://github.com/PrestaShop/productcomments/commit/c56e3e9495c4a0a9c1e7dc43e1bb0fcad2796dbf | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26225 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26225 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-58w4-w77w-qv3w changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2020-26225 changed 2026-06-17 | Public domain |