CVE-2021-36887 MEDIUM

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)

Vendor Tarteaucitron
Product tarteaucitron.js – Cookies legislation & GDPR (WordPress plugin)
Weakness CWE-352 · CSRF
Published December 20, 2021
Last update April 28, 2026

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:L

What the vulnerability does

01Description

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

Explanation of Vulnerability in Simple Terms

02Summary

The tarteaucitron.js WordPress plugin version 1.5.4 and earlier is vulnerable to cross-site request forgery (CSRF). An attacker can craft a malicious webpage that, when visited by a logged-in site administrator, performs unwanted actions on the site without their knowledge. This affects the plugin's integrity and availability functions.

What an attacker can do

03Attacker Capabilities

Trick a site admin into visiting a malicious page that performs unwanted actions on the site without their consent.

Potential impact on your site

04Site Impact

An attacker can modify plugin settings or disable cookie consent features by tricking admins into visiting malicious pages.

Conditions required to exploit

05Prerequisites

Site admin must be logged in and visit an attacker-controlled webpage; no special privileges required.

Key dates

06Disclosure timeline

December 20, 2021 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE