CVE-2021-24346 Stock in & out <= 1.0.4 - Reflected Cross-Site Scripting (XSS)
A reflected XSS vulnerability in the Stock in & out WordPress plugin allows attackers to inject malicious scripts via the search parameter, potentially compromising user sessions.
- 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-2021-24346?
CVE-2021-24346 is a medium-severity cross-site scripting vulnerability in Unknown Stock in & out, published on 14 Jun 2021. 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 Stock in & out WordPress plugin through 1.0.4 has a search functionality, the lowest accessible level to it being contributor. The srch POST parameter is not validated, sanitised or escaped before using it in the echo statement, leading to a reflected XSS issue
Weakness: CWE-79
Which versions are affected by CVE-2021-24346?
It affects 1 product.
Products include Stock in \& Out Project Stock in \& Out.
How do I fix CVE-2021-24346?
No fix has been published for CVE-2021-24346 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-2021-24346 being exploited?
There is no known exploitation of CVE-2021-24346 in the wild and no public exploit code.
Sources
Also known as GHSA-rmmh-2222-6j4v.