SecurityContext

CVE-2024-8397: webtoffee-gdpr-cookie-consent WordPress plugin - Stored XSS

  • Cve: CVE-2024-8397
  • Name: webtoffee-gdpr-cookie-consent WordPress plugin - Stored XSS
  • Description: The webtoffee-gdpr-cookie-consent WordPress plugin before 2.6.1 does not properly sanitize and escape the IP headers when logging them, allowing visitors to conduct Stored Cross-Site Scripting attacks. The payload gets triggered when an admin visits the 'Consent report' page and the malicious script is executed in the admin context.
  • Impact: Attackers can execute malicious scripts in admin context, potentially leading to full admin account compromise.
  • Remediation: Upgrade to version 2.6.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: stored_xss
  • Requirement type: user_interaction
  • Requirements: Admin must visit the 'Consent report' page
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Epss score: 0.00332
  • Epss percentile: 0.26873
  • Assignee: [email protected]
  • Published at: 2025-05-15T20:15:58Z
  • Age in days: 558
  • Modified at: 2026-06-17T08:22:30Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8397
  • Nvd status: analyzed
  • Checked, none or zero: 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://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/nvd2025-05-15

References

UrlSourceTags
https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
webtoffee:gdpr_cookie_consent< 2.61nonvd/v1/products/webtoffee/gdpr_cookie_consent

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-05-15
  • 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