{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:piengine:pi:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.5.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ba6b4f0de21d803a01d2a2b2b32f2f6b505a6040"
            }
          ],
          "repo": "https://github.com/pi-engine/pi",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "A Cross-Site Scripting (XSS) was discovered in pi-engine/pi 2.5.0. The vulnerability exists due to insufficient filtration of user-supplied data (preview) passed to the \"pi-develop/www/script/editor/markitup/preview/markdown.php\" URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.",
  "id": "CVE-2017-7251",
  "modified": "2026-07-08T05:38:01.760677417Z",
  "published": "2017-03-23T22:59:00.307Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/97061"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pi-engine/pi/issues/1523"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}