# CVE-2021-24871: Get Custom Field Values < 4.0.1 - Contributor+ Stored Cross-Site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-13T10:41:15.000Z
- Modified: 2026-06-17T03:41:03.333Z
- Weaknesses: CWE-79
- Assigned by: WPScan

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

(As written by CVE List.)

## Affected

- Unknown Get Custom Field Values: from 4.0.1 before 4.0.1
- get_custom_field_values_project get_custom_field_values: before 4.0.1

## Every score

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

## References

- <https://wpscan.com/vulnerability/28007c80-dc14-4987-a52c-f2a05cfe5905> (exploit, third-party-advisory)

## Sources

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

---

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