CVE-2022-32115
PHP vulnerability analysis and mitigation

Overview

An issue in the isSVG() function of Known v1.2.2+2020061101 allows attackers to execute arbitrary code via a crafted SVG file. The vulnerability was discovered in May 2022 and affects the Known PHP CMS software, a social publishing platform (Known Github, Known Website).

Technical details

The vulnerability exists in the isSVG() function which performs insufficient validation of SVG files. The function only checks the file extension without performing proper content validation, as indicated by a TODO comment in the code stating 'better SVG validation would be nice'. This implementation allows malicious SVG files containing arbitrary JavaScript code to be uploaded and executed (Jitendra Blog).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code through crafted SVG files. When a user clicks on or views the malicious SVG file, the embedded JavaScript code executes in the context of the web application, potentially leading to cross-site scripting attacks and other client-side attacks (Jitendra Blog).

Mitigation and workarounds

While no official patch was available at the time of disclosure, proper SVG file validation should be implemented to mitigate this vulnerability. This should include content validation beyond just checking the file extension, and should specifically check for and sanitize any embedded scripts or potentially malicious content within SVG files (Jitendra Blog).

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-67510CRITICAL9.4
  • PHPPHP
  • neuron-core/neuron-ai
NoYesDec 10, 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