CVE-2022-1567 WP JS <= 2.0.6 - Reflected Cross-Site Scripting
Attackers can execute arbitrary scripts in admin sessions via unvalidated input in the WP JS plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-1567?
CVE-2022-1567 is a medium-severity cross-site scripting vulnerability in halmat WP JS, published on 10 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The WP-JS plugin for WordPress contains a script called wp-js.php with the function wp_js_admin, that accepts unvalidated user input and echoes it back to the user. This can be used for reflected Cross-Site Scripting in versions up to, and including, 2.0.6.
Weakness: CWE-79
Which versions are affected by CVE-2022-1567?
It affects 1 product.
Products include Wp-Js Project Wp-Js.
How do I fix CVE-2022-1567?
No fix has been published for CVE-2022-1567 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-1567 being exploited?
There is no known exploitation of CVE-2022-1567 in the wild and no public exploit code.
Sources
Also known as GHSA-f2g6-m663-wjp3.