GHSA-9v3w-m552-m6ff

Suggest an improvement
Source
https://github.com/advisories/GHSA-9v3w-m552-m6ff
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9v3w-m552-m6ff/GHSA-9v3w-m552-m6ff.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9v3w-m552-m6ff
Aliases
Published
2022-05-13T01:06:56Z
Modified
2024-02-16T08:24:34.486287Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2017-03-23T22:59:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-07T20:48:37Z"
}
References

Affected packages

Packagist / pi/pi

Package

Name
pi/pi
Purl
pkg:composer/pi/pi

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.0-alpha1

Affected versions

v2.*

v2.5.0-alpha1
v2.5.0-alpha2
v2.5.0-alpha3

2.*

2.5.0

Database specific

{
    "last_known_affected_version_range": "<= 2.5.0"
}