CVE-2021-38321
WordPress vulnerability analysis and mitigation

Overview

The Custom Menu Plugin for WordPress (versions up to and including 1.3.3) was identified with a Reflected Cross-Site Scripting vulnerability, tracked as CVE-2021-38321. The vulnerability was discovered in the selected_menu parameter within the ~/custom-menus.php file. This security issue was reported on August 9, 2021, with Wordfence serving as the assigning CNA (CVE Numbering Authority) (CVE Mitre).

Technical details

The vulnerability is classified as CWE-79, which is a Cross-Site Scripting (XSS) weakness. The security flaw exists in the selected_menu parameter of the custom-menus.php file, allowing potential attackers to inject malicious web scripts into the application (Wordfence Advisory).

Impact

The vulnerability allows attackers to inject arbitrary web scripts through the selected_menu parameter, which could potentially lead to the execution of unauthorized JavaScript code in users' browsers (CVE Mitre).

Mitigation and workarounds

Users are advised to update their Custom Menu Plugin to a version newer than 1.3.3 to address this security vulnerability (Wordfence Advisory).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13342CRITICAL9.8
  • acf-frontend-form-element
NoYesDec 03, 2025
CVE-2025-13359MEDIUM6.5
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13756MEDIUM4.3
  • fluent-booking
NoYesDec 03, 2025
CVE-2025-13354MEDIUM4.3
  • simple-tags
NoYesDec 03, 2025
CVE-2025-13109MEDIUM4.3
  • woocommerce-products-filter
NoYesDec 03, 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