MediumGHSA-prrh-qvhf-x788CVE-2022-35933

PrestaShop Product Comments Cross-site Scripting vulnerability

Published 31 Aug 2022 · Updated 8 Nov 2023

Is your project on an affected prestashop/productcomments?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<5.0.2
Fixed in
5.0.2
Update to the fixed version for your release line, for example:composer require prestashop/productcomments:^5.0.2

Details

Impact

An attacker could steal an admin's cookie

Patches

The issue is fixed in 5.0.2

References

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Is GHSA-prrh-qvhf-x788 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected prestashop/productcomments, and gives you the command that fixes it.

More advisories for prestashop/productcomments

  • LowCVE-2020-26248Blind SQL injection in PrestaShop productcomments module · 20 Jan 2021
  • MediumCVE-2020-26225Reflected XSS with parameters in PostComment · 16 Nov 2020
prestashop/productcomments security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.