SecurityContext

CVE-2022-0220: WordPress GDPR & CCPA - Reflected XSS

  • Cve: CVE-2022-0220
  • Name: WordPress GDPR & CCPA - Reflected XSS
  • Description: The check_privacy_settings AJAX action of the WordPress GDPR WordPress plugin before 1.9.27, available to both unauthenticated and authenticated users, responds with JSON data without an "application/json" content-type. Since an HTML payload isn't properly escaped, it may be interpreted by a web browser led to this endpoint. Javascript code may be executed on a victim's browser. Due to v1.9.26 adding a CSRF check, the XSS is only exploitable against unauthenticated users (as they all share the same nonce)
  • Impact: Attackers can execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking or malicious actions.
  • Remediation: Update to version 1.9.27 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • 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.0232
  • Epss percentile: 0.83779
  • Assignee: [email protected]
  • Published at: 2022-02-01T13:15:09Z
  • Age in days: 1757
  • Modified at: 2026-06-17T04:20:10Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0220
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-116Improper Encoding or Escaping of Output

Nuclei templates

IdUrl
CVE-2022-0220https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0220.yaml

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059nvd2022-02-01

References

UrlSourceTags
https://wpscan.com/vulnerability/a91a01b9-7e36-4280-bc50-f6cff3e66059nvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0220.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
welaunch:wordpress_gdpr&ccpa<= 1.9.26nonvd/v1/products/welaunch/wordpress_gdpr&ccpa

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-02-01
  • 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, initial access since, hackerone reports, exposed hosts

Nuclei template