# CVE-2021-24241: Advanced Custom Field Pro < 5.9.1 - Reflected Cross-Site Scripting (XSS)

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-04-22T21:00:51.000Z
- Modified: 2026-06-17T03:39:41.440Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Advanced Custom Fields Pro: from 5.9.1 before 5.9.1
- advancedcustomfields advanced_custom_fields: before 5.9.1

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/d1e9c995-37bd-4952-b88e-945e02e3c83f> (exploit, third-party-advisory)
- <https://github.com/jdordonezn/Reflected-XSS-in-WordPress-for-ACF-PRO-before-5.9.1-plugin/issues/1> (exploit, third-party-advisory)
- <https://www.advancedcustomfields.com/blog/acf-5-9-1-release/> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2021-24241](https://www.cve.org/CVERecord?id=CVE-2021-24241), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24241](https://nvd.nist.gov/vuln/detail/CVE-2021-24241), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24241 · Whole record: https://cve.day/CVE-2021-24241.json · Rebuilt by cve.day 2026-11-25T22:58:00.936Z
