SecurityContext

CVE-2021-38321: WordPress Custom Menu Plugin - Reflected XSS

  • Cve: CVE-2021-38321
  • Name: WordPress Custom Menu Plugin - Reflected XSS
  • Description: The Custom Menu Plugin WordPress plugin is vulnerable to Reflected Cross-Site Scripting via the selected_menu parameter found in the ~/custom-menus.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 1.3.3.
  • Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of the plugin, beyond 1.3.3.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click malicious link
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00895
  • Epss percentile: 0.60268
  • Assignee: [email protected]
  • Published at: 2021-09-09T19:15:13Z
  • Age in days: 1902
  • Modified at: 2026-06-17T04:01:51Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-38321
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://plugins.trac.wordpress.org/browser/custom-sub-menus/trunk/custom-menus.php?rev=2205549#L136nvd2021-09-09

References

UrlSourceTags
https://plugins.trac.wordpress.org/browser/custom-sub-menus/trunk/custom-menus.php?rev=2205549#L136nvdExploit, Third Party Advisory
https://www.wordfence.com/vulnerability-advisories/#CVE-2021-38321nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
custom-sub-menus_project:custom-sub-menus<= 1.3.3nonvd/v1/products/custom-sub-menus_project/custom-sub-menus

Index

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

Exploitation

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