CVE-2020-26225
PHP vulnerability analysis and mitigation

Overview

In PrestaShop Product Comments module before version 4.2.0, a reflected Cross-Site Scripting (XSS) vulnerability was discovered that could allow attackers to inject malicious web code into users' browsers. The vulnerability was assigned CVE-2020-26225 and was disclosed on November 16, 2020. The affected versions are >4.0.0 and before 4.2.0 of the Product Comments module (GitHub Advisory).

Technical details

The vulnerability exists in the PostComment functionality of the Product Comments module. An attacker could exploit this by creating a malicious link containing crafted parameters that would execute arbitrary JavaScript code in the victim's browser when clicked. The issue was caused by insufficient validation of user input in the module's parameters (GitHub Advisory).

Impact

The vulnerability allows attackers to inject malicious web code into users' browsers through specially crafted links. This could potentially lead to session hijacking, credential theft, or other client-side attacks against users who click on malicious links (GitHub Advisory).

Exploitability

The vulnerability can be exploited by creating malicious links containing crafted parameters that trigger the XSS payload when clicked by users. The attack vector requires user interaction in the form of clicking a malicious link (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.2.0 of the Product Comments module. Users are advised to upgrade to this version or later to protect against this vulnerability. The fix includes improved input validation and proper encoding of parameters (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-85400HIGH7.5
  • PHP logoPHP
  • composer://typo3/cms-lowlevel
NoYesSep 08, 2026
CVE-2026-53637MEDIUM6.5
  • PHP logoPHP
  • sylius/sylius
NoYesSep 08, 2026
CVE-2026-53639MEDIUM6.3
  • PHP logoPHP
  • sylius/sylius
NoYesSep 08, 2026
CVE-2026-77132MEDIUM5.3
  • PHP logoPHP
  • cpe:2.3:a:typo3:typo3
NoYesSep 08, 2026
CVE-2026-53638MEDIUM4.3
  • PHP logoPHP
  • sylius/sylius
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management