CVE-2021-24871 Get Custom Field Values < 4.0.1 - Contributor+ Stored Cross-Site Scripting
Contributors can inject malicious scripts via unescaped custom fields in the Get Custom Field Values plugin, leading to stored XSS 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-2021-24871?
CVE-2021-24871 is a medium-severity cross-site scripting vulnerability in Unknown Get Custom Field Values, published on 13 Dec 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 Get Custom Field Values WordPress plugin before 4.0.1 does not escape custom fields before outputting them in the page, which could allow users with a role as low as contributor to perform Cross-Site Scripting attacks
Weakness: CWE-79
Which versions are affected by CVE-2021-24871?
It affects 1 product.
Products include Get Custom Field Values Project Get Custom Field Values.
How do I fix CVE-2021-24871?
No fix has been published for CVE-2021-24871 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-24871 being exploited?
There is no known exploitation of CVE-2021-24871 in the wild and no public exploit code.
Other vulnerabilities in Unknown Get Custom Field Values
Sources
Also known as GHSA-xvr9-h38m-rc5q.