CVE-2021-34625 WP Upload Restriction <= 2.2.3 - Authenticated Stored Cross-Site Scripting
Low-level authenticated users can inject arbitrary web scripts via the saveCustomType function in the WP Upload Restriction plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-34625?
CVE-2021-34625 is a medium-severity cross-site scripting vulnerability in WP Upload Restriction, published on 7 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability in the saveCustomType function of the WP Upload Restriction WordPress plugin allows low-level authenticated users to inject arbitrary web scripts. This issue affects versions 2.2.3 and prior.
Weakness: CWE-79
Which versions are affected by CVE-2021-34625?
It affects 1 product.
Products include Wp-Upload-Restriction Project Wp-Upload-Restriction.
How do I fix CVE-2021-34625?
No fix has been published for CVE-2021-34625 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-34625 being exploited?
There is no known exploitation of CVE-2021-34625 in the wild and no public exploit code.
Other vulnerabilities in WP Upload Restriction
Sources
Also known as GHSA-2r5h-m86c-qqjm.