CVE-2021-32470
PHP vulnerability analysis and mitigation

Overview

CVE-2021-32470 affects Craft CMS versions before 3.6.13, where a cross-site scripting (XSS) vulnerability was discovered. The vulnerability was disclosed on May 7, 2021, and was patched in version 3.6.13 released on May 4, 2021 (MITRE, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 score of 4.3 (MEDIUM), indicating a moderate severity level. The issue specifically involved improper input sanitization in the field layout designer component, where tab names were not properly escaped before being rendered in the interface (GitHub Commit).

Impact

The XSS vulnerability could allow attackers to execute arbitrary web script or HTML in the context of the application. This could potentially lead to theft of sensitive data, session hijacking, or other malicious actions performed in the context of the authenticated user's session (MITRE).

Exploitability

The vulnerability requires user interaction and some level of authenticated access to the Craft CMS system to exploit. The specific attack vector involves manipulating tab names in the field layout designer interface (GitHub Commit).

Mitigation and workarounds

The recommended mitigation is to upgrade Craft CMS to version 3.6.13 or later, which includes the security fix. The patch implements proper HTML escaping for tab names in the field layout designer (Craft Changelog).

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-2026-46670CRITICAL9.8
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesAug 11, 2026
GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026

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