SecurityContext

CVE-2021-32245: PageKit - Stored XSS

  • Cve: CVE-2021-32245
  • Name: PageKit - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking, defacement, or data theft.
  • Remediation: Implement proper filtering and sanitization of SVG files before upload, and restrict file types to safe formats.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must click on malicious SVG link
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00541
  • Epss percentile: 0.46103
  • Assignee: [email protected]
  • Published at: 2021-06-16T21:15:08Z
  • Age in days: 1987
  • Modified at: 2026-06-17T03:52:50Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32245
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/pagekit/pagekit/issues/963nvd2021-06-16

References

UrlSourceTags
https://github.com/pagekit/pagekit/issues/963nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
pagekit:pagekit= 1.0.18nonvd/v1/products/pagekit/pagekit

Projects

RepositoryLink kindsIndexedUrl
pagekit/pagekitissuesyes/v1/repositories/pagekit/pagekit

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-06-16
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 32
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports