Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. prestashop/productcomments
  4. ›
  5. CVE-2020-26225

CVE-2020-26225: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 16, 2020 (updated January 7, 2021)

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

References

  • github.com/PrestaShop/productcomments/commit/c56e3e9495c4a0a9c1e7dc43e1bb0fcad2796dbf
  • github.com/PrestaShop/productcomments/security/advisories/GHSA-58w4-w77w-qv3w
  • github.com/advisories/GHSA-58w4-w77w-qv3w
  • nvd.nist.gov/vuln/detail/CVE-2020-26225

Code Behaviors & Features

Detect and mitigate CVE-2020-26225 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.2.0

Fixed versions

  • 4.2.0

Solution

Upgrade to version 4.2.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/prestashop/productcomments/CVE-2020-26225.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.