SecurityContext

CVE-2021-24595: Wp Cookie Choice - Cross Site Request Forgery & Stored XSS

  • Cve: CVE-2021-24595
  • Name: Wp Cookie Choice - Cross Site Request Forgery & Stored XSS
  • Description: The Wp Cookie Choice WordPress plugin through 1.1.0 is lacking any CSRF check when saving its options, and do not escape them when outputting them in attributes. As a result, an attacker could make a logged in admin change them to arbitrary values including XSS payloads via a CSRF attack.
  • Impact: Attackers can perform actions on behalf of admin and execute arbitrary scripts, leading to session hijacking or full site compromise.
  • Remediation: Implement CSRF protection and proper output escaping in the plugin.
  • Vulnerability type: cross_site_request_forgery
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs admin to visit malicious page
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Epss score: 0.00526
  • Epss percentile: 0.45435
  • Assignee: [email protected]
  • Published at: 2021-10-18T14:15:09Z
  • Age in days: 1863
  • Modified at: 2026-06-17T03:40:17Z
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24595
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

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

References

UrlSourceTags
https://wpscan.com/vulnerability/c809bdb3-d820-4ce1-9cbc-e41985fb5052nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wp_cookie_choice_project:wp_cookie_choice<= 1.1.0nonvd/v1/products/wp_cookie_choice_project/wp_cookie_choice

Index

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

Exploitation

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