CVE-2021-32245
PHP vulnerability analysis and mitigation

Overview

In PageKit v1.0.18, a vulnerability was discovered that allows users to upload SVG files containing malicious scripts through the CMS file upload functionality. The vulnerability was assigned CVE-2021-32245 and was disclosed on June 16, 2021 (NVD, GitHub Issue).

Technical details

The vulnerability exists in the file upload functionality of PageKit CMS version 1.0.18. When a user uploads an SVG file, the system does not properly strip or filter the file content, allowing malicious scripts within the SVG to remain intact. The vulnerability was confirmed in an environment running nginx 1.15.11, MySQL 5.7.26, and PHP 7.3.4 (GitHub Issue).

Impact

When exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in victims' browsers when the malicious SVG file is accessed. The attack can be triggered when users click on links pointing to the uploaded SVG file (e.g., '/storage/exp.svg'), resulting in a stored Cross-Site Scripting (XSS) attack (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management