Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pi/pi
  4. ›
  5. CVE-2017-7251

CVE-2017-7251: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 13, 2022 (updated July 7, 2023)

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.

References

  • github.com/advisories/GHSA-9v3w-m552-m6ff
  • github.com/pi-engine/pi/commit/557cd05b21b4d7fe422f90adcfa0c6e3bea06153
  • github.com/pi-engine/pi/issues/1523
  • nvd.nist.gov/vuln/detail/CVE-2017-7251
  • web.archive.org/web/20210124010656/https://www.securityfocus.com/bid/97061/

Code Behaviors & Features

Detect and mitigate CVE-2017-7251 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.5.0

Fixed versions

  • 2.6.0-alpha1

Solution

Upgrade to version 2.6.0-alpha1 or above. *Note*: 2.6.0-alpha1 may be an unstable version. Use caution.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/pi/pi/CVE-2017-7251.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.