GitHub Advisory Database
GHSA-9v3w-m552-m6ff
Pi Cross-site Scripting vulnerability
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | pi/pi | All versions before 2.6.0-alpha1 (fixed in 2.6.0-alpha1) |