CVE-2023-4968 WPLegalPages <= 2.9.2 - Authenticated (Author+) Stored Cross-Site Scripting via Shortcode
Authenticated attackers with author permissions can inject arbitrary scripts via shortcode, leading to script execution for other users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-4968?
CVE-2023-4968 is a medium-severity cross-site scripting vulnerability in wplegalpages Privacy Policy Generator – WPLP Legal Pages, published on 20 Oct 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2023-4968?
It affects 1 product.
Products include Wpeka Wplegalpages.
How do I fix CVE-2023-4968?
No fix has been published for CVE-2023-4968 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-4968 being exploited?
There is no known exploitation of CVE-2023-4968 in the wild and no public exploit code.
Other vulnerabilities in wplegalpages Privacy Policy Generator – WPLP Legal Pages
Sources
Also known as GHSA-645x-3j3m-f2c2.