CVE-2023-48300 Embed Privacy missing escaping for show_all attribute in opt-out shortcode
Authenticated attackers can inject arbitrary web scripts via the opt-out shortcode, leading to stored XSS execution for other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-48300?
CVE-2023-48300 is a medium-severity cross-site scripting vulnerability in epiphyt embed-privacy, published on 20 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The `Embed Privacy` plugin for WordPress that prevents the loading of embedded external content is vulnerable to Stored Cross-Site Scripting via `embed_privacy_opt_out` shortcode in versions up to, and including, 1.8.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Version 1.8.1 contains a patch for this issue.
Weakness: CWE-79
Which versions are affected by CVE-2023-48300?
It affects 1 product.
Products include Epiph Embed Privacy.
How do I fix CVE-2023-48300?
No fix has been published for CVE-2023-48300 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-48300 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-48300 exists.
Other vulnerabilities in epiphyt embed-privacy
Sources
Also known as GHSA-3wv9-4rvf-w37g.