CVE-2021-24241 Advanced Custom Field Pro < 5.9.1 - Reflected Cross-Site Scripting (XSS)
Attackers can execute arbitrary scripts in the context of other users via a reflected XSS vulnerability in the Advanced Custom Fields Pro update settings page.
- 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-2021-24241?
CVE-2021-24241 is a medium-severity cross-site scripting vulnerability in Unknown Advanced Custom Fields Pro, published on 22 Apr 2021. 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 Advanced Custom Fields Pro WordPress plugin before 5.9.1 did not properly escape the generated update URL when outputting it in an attribute, leading to a reflected Cross-Site Scripting issue in the update settings page.
Weakness: CWE-79
Which versions are affected by CVE-2021-24241?
It affects 1 product.
Products include Advancedcustomfields Advanced Custom Fields.
How do I fix CVE-2021-24241?
No fix has been published for CVE-2021-24241 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-24241 being exploited?
There is no known exploitation of CVE-2021-24241 in the wild and no public exploit code.
Other vulnerabilities in Unknown Advanced Custom Fields Pro
- CVE-2023-1196 Advanced Custom Fields - Contributor+ PHP Object Injection
- CVE-2022-2594 Advanced Custom Fields 5.0-5.12.2 - Unauthenticated File Upload
- CVE-2024-4565 Advanced Custom Fields < 6.3 - Contributor+ Custom Field Access
- CVE-2021-20865 Missing authorization in Advanced Custom Fields and Advanced Custom Fields Pro
- CVE-2023-30777 WordPress Advanced Custom Fields / Advanced Custom Fields PRO plugins <= 6.1.5 vulnerable to Cross Site Scripting (XSS)
Sources
Also known as GHSA-qrc3-2vgc-v73w.