CVE-2022-3402 Log HTTP Requests <= 1.3.1 - Stored Cross-Site Scripting
Unauthenticated attackers can inject arbitrary web scripts via logged HTTP requests, potentially leading to code execution or account takeover when administrators view the logs.
- 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-3402?
CVE-2022-3402 is a medium-severity cross-site scripting vulnerability in mgibbs189 Log HTTP Requests, published on 28 Oct 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 Log HTTP Requests plugin for WordPress is vulnerable to Stored Cross-Site Scripting via logged HTTP requests in versions up to, and including, 1.3.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers who can trick a site's administrator into performing an action like clicking on a link, or an authenticated user with access to a page that sends a request using user-supplied data via the server, 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-2022-3402?
It affects 1 product.
Products include Facetwp Log Http Requests.
How do I fix CVE-2022-3402?
No fix has been published for CVE-2022-3402 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-3402 being exploited?
There is no known exploitation of CVE-2022-3402 in the wild and no public exploit code.
Sources
Also known as GHSA-j8m4-m9gj-6wrm.