Vulnerability · Published Jun 16, 2021 · Assigned by mitre

CVE-2021-32245

Medium 5.4

In plain English

A medium-severity security flaw in the pagekit/pagekit package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).

Severity (CVSS NVD)5.4Medium
Exploit odds (30 days)0.5%top 54.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In PageKit v1.0.18, a user can upload SVG files in the file upload portion of the CMS. These SVG files can contain malicious scripts. This file will be uploaded to the system and it will not be stripped or filtered. The user can create a link on the website pointing to "/storage/exp.svg" that will point to http://localhost/pagekit/storage/exp.svg. When a user comes along to click that link, it will trigger a XSS attack.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistpagekit/pagekitno fix listedGHSA-mrwr-2945-fr22

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References