SecurityContext

CVE-2023-4968: WPLegalPages - Stored XSS

  • Cve: CVE-2023-4968
  • Name: WPLegalPages - Stored XSS
  • Description: The WPLegalPages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'wplegalpage' shortcode in versions up to, and including, 2.9.2 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with author-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
  • Impact: Attackers can inject and execute malicious scripts in pages, potentially leading to session hijacking or defacement.
  • Remediation: Update to version 2.9.3 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs author or higher permissions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00526
  • Epss percentile: 0.45416
  • Assignee: [email protected]
  • Published at: 2023-10-20T07:15:16Z
  • Age in days: 1131
  • Modified at: 2026-06-17T06:39:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-4968
  • Nvd status: modified
  • Checked, none or zero: 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

Same in every row:

  • Source: nvd
UrlTags
https://plugins.trac.wordpress.org/browser/wplegalpages/tags/2.9.2/public/class-wp-legal-pages-public.php#L150Patch
https://plugins.trac.wordpress.org/changeset/2976774/wplegalpages/trunk/public/class-wp-legal-pages-public.php#file0Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/68d7b5d0-c777-4ff9-bdef-a7762cfbdf1a?source=cveThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wpeka:wplegalpages<= 2.9.2nonvd/v1/products/wpeka/wplegalpages

Index

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

Exploitation

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