# CVE-2021-36887: WordPress tarteaucitron.js – Cookies legislation & GDPR plugin <= 1.5.4 - Cross-Site Request Forgery (CSRF) vulnerability leading to Cross-Site Scripting (XSS)

- Severity: Medium 6.1 (CVSS:3.1, scored by Patchstack) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L`
- 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.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-20T20:08:23.332Z
- Modified: 2026-06-17T03:59:34.793Z
- Weaknesses: CWE-79, CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Patchstack

## Description

Cross-Site Request Forgery (CSRF) vulnerability leading to Cross-Site Scripting (XSS) discovered in tarteaucitron.js – Cookies legislation & GDPR WordPress plugin (versions <= 1.5.4), vulnerable parameters "tarteaucitronEmail" and "tarteaucitronPass".

(As written by CVE List.)

## Affected

- Tarteaucitron tarteaucitron.js – Cookies legislation & GDPR (WordPress plugin): from <= 1.5.4 up to 1.5.4
- tarteaucitron.js_-_cookies_legislation_&_gdpr_project tarteaucitron.js_-_cookies_legislation_&_gdpr: up to 1.5.4

## Every score

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

## References

- <https://patchstack.com/database/vulnerability/tarteaucitronjs/wordpress-tarteaucitron-js-cookies-legislation-gdpr-plugin-1-5-4-cross-site-request-forgery-csrf-vulnerability-leading-to-cross-site-scripting-xss> (exploit, third-party-advisory)
- <https://wordpress.org/plugins/tarteaucitronjs/#developers> (release-notes, third-party-advisory)

## Sources

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

---

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