CVE-2022-1393 WP Subtitle < 3.4.1 - Contributor+ Stored Cross-Site Scripting
Authenticated contributors can inject malicious scripts via unsanitized post meta updates, leading to stored cross-site scripting attacks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-1393?
CVE-2022-1393 is a medium-severity cross-site scripting vulnerability in Unknown WP Subtitle, published on 16 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The WP Subtitle WordPress plugin before 3.4.1 adds a subtitle field and provides a shortcode to display it via [wp_subtitle]. The subtitle is stored as a custom post meta with the key: "wps_subtitle", which is sanitized upon post save/update, however is not sanitized when updating it directly from the post meta update button (via AJAX) - and this makes the XSS exploitable by authenticated users with a role as low as contributor.
Weakness: CWE-79
Which versions are affected by CVE-2022-1393?
It affects 1 product.
Products include Wp Subtitle Project Wp Subtitle.
How do I fix CVE-2022-1393?
No fix has been published for CVE-2022-1393 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-2022-1393 being exploited?
There is no known exploitation of CVE-2022-1393 in the wild and no public exploit code.
Sources
Also known as GHSA-5hj2-56wh-2m4v.