CVE-2021-32245
JSON

5.4medium

Cross-site scripting in PageKit

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-mrwr-2945-fr22

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
pagekit/pagekit (Packagist)up to 1.0.18GitHub Advisory Database
pagekit pagekit1.0.18NVD

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

En PageKit versión v1.0.18, un usuario puede subir archivos SVG en la parte de subida de archivos del CMS. Estos archivos SVG pueden contener scripts maliciosos. Este archivo será subido al sistema y no será despojado o filtrado. El usuario puede crear un enlace en el sitio web apuntando a "/storage/exp.svg" y que apunte a http://localhost/pagekit/storage/exp.svg. Cuando un usuario haga clic en ese enlace, se desencadenará un ataque de tipo XSS

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32245 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-mrwr-2945-fr22 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-32245 changed 2026-06-17Public domain