# CVE-2021-24936: WP Extra File Types < 0.5.1 - CSRF to Stored Cross-Site Scripting

- Severity: High 8.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- 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.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-24T08:00:56.000Z
- Modified: 2026-06-17T03:41:09.653Z
- Weaknesses: CWE-352
- Assigned by: WPScan

## Description

The WP Extra File Types WordPress plugin before 0.5.1 does not have CSRF check when saving its settings, nor sanitise and escape some of them, which could allow attackers to make a logged in admin change them and perform Cross-Site Scripting attacks

(As written by CVE List.)

## Affected

- Unknown WP Extra File Types: from 0.5.1 before 0.5.1
- wp_extra_file_types_project wp_extra_file_types: before 0.5.1

## Every score

- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/4fb61b84-ff5f-4b4c-a516-54b749f9611e> (exploit, third-party-advisory)

## Sources

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

---

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