Pi Cross-site Scripting vulnerability
Date: 2022-05
Affected: composer/pi/pi
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2017-7251
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):