{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.7.2.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1bd0f2291a5060cd00b15aa15a78cfd10198e062"
            }
          ],
          "repo": "https://github.com/prestashop/prestashop",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In PrestaShop through 1.7.2.5, a UI-Redressing/Clickjacking vulnerability was found that might lead to state-changing impact in the context of a user or an admin, because the generateHtaccess function in classes/Tools.php sets neither X-Frame-Options nor 'Content-Security-Policy \"frame-ancestors' values.",
  "id": "CVE-2018-7491",
  "modified": "2026-04-01T23:09:40.057328726Z",
  "published": "2018-02-26T17:29:00.350Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/PrestaShop/PrestaShop/pull/8807"
    },
    {
      "type": "REPORT",
      "url": "http://forge.prestashop.com/browse/BOOM-4917"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}