Skip to content
Heist/ feed
Back to feed
Medium

PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)

Type: advisorySources: OSV

This package is a PrestaShop module that allows users to post reviews and rate products. There is a vulnerability where the attacker could steal an administrator's cookie. The issue is fixed in version 5.0.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-35933
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:59 UTC · Revision 1

Source evidence

PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)

core-osv · Original source

Published 2 Sept 2022, 19:30 UTC

This package is a PrestaShop module that allows users to post reviews and rate products. There is a vulnerability where the attacker could steal an administrator's cookie. The issue is fixed in version 5.0.2.

osv:CVE-2022-35933
Complete source record
{
  "id": "41db65a2a8470aa146a46d413bb2074f351e3a76490aa26c963b4e5183f611ac",
  "url": "https://osv.dev/vulnerability/CVE-2022-35933",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PrestaShop module Product Comments vulnerable to cross-site scripting (XSS)",
    "summary": "This package is a PrestaShop module that allows users to post reviews and rate products. There is a vulnerability where the attacker could steal an administrator's cookie. The issue is fixed in version 5.0.2.",
    "evidence": "osv:CVE-2022-35933",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-35933",
      "aliases": [
        "CVE-2022-35933",
        "GHSA-prrh-qvhf-x788"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/prestashop/productcomments",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e1b9d0333dc186c6e3f1b721d5feeef13e450ef8"
                },
                {
                  "fixed": "314456d739155aa71f0b235827e8e0f24b97c26b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:prestashop:productcomments:*:*:*:*:*:prestashop:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "314456d739155aa71f0b235827e8e0f24b97c26b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.0.1",
            "v5.0.0",
            "v4.2.2",
            "v4.2.1",
            "v4.2.0",
            "v4.1.0",
            "v4.0.1",
            "v4.0.0",
            "v3.6.1",
            "v3.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35933.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.250897379Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35933.json",
        "https://github.com/PrestaShop/productcomments/security/advisories/GHSA-prrh-qvhf-x788",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-35933",
        "https://github.com/PrestaShop/productcomments/commit/314456d739155aa71f0b235827e8e0f24b97c26b"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35933.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-35933",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501288,
  "published_at": "2022-09-02T19:30:14+00:00"
}