{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.6.0.4"
              },
              {
                "fixed": "1.7.6.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "e781755b2cc9ec6196413b6060357371557cbc8b"
            },
            {
              "fixed": "69f840d7f626769431c9c0ae9ad8ef1a327571c0"
            },
            {
              "fixed": "562a231fec18a928e4a601860416fe11af274672"
            }
          ],
          "repo": "https://github.com/prestashop/prestashop",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In PrestaShop from version 1.6.0.4 and before version 1.7.6.8 an attacker is able to inject javascript while using the contact form. The problem is fixed in 1.7.6.8",
  "id": "CVE-2020-15161",
  "modified": "2026-04-01T23:09:43.218359126Z",
  "published": "2020-09-24T22:15:12.260Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-5cp2-r794-w37w"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.6.8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/PrestaShop/PrestaShop/commit/562a231fec18a928e4a601860416fe11af274672"
    }
  ],
  "related": [
    "GHSA-5cp2-r794-w37w"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}