CVE-2019-16332 Cross-site scripting in n/a
An attacker can inject JavaScript code via the server parameter in the api-bearer-auth plugin, potentially compromising user sessions.
- 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-2019-16332?
CVE-2019-16332 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 Sep 2019. 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
In the api-bearer-auth plugin before 20190907 for WordPress, the server parameter is not correctly filtered in the swagger-config.yaml.php file, and it is possible to inject JavaScript code, aka XSS.
Weakness: CWE-79
Which versions are affected by CVE-2019-16332?
It affects 1 product.
Products include Api Bearer Auth Project Api Bearer Auth.
How do I fix CVE-2019-16332?
No fix has been published for CVE-2019-16332 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-2019-16332 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-16332 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-69cc-935m-fh4h.