CVE-2021-36887 Cross-site request forgery in tarteaucitron.js – Cookies legislation & GDPR (WordPress plugin)

Medium 6.1 Published Updated

A CSRF vulnerability in the tarteaucitron.js WordPress plugin allows attackers to inject malicious scripts via vulnerable parameters, potentially leading to XSS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-36887?

CVE-2021-36887 is a medium-severity vulnerability in tarteaucitron.js – Cookies legislation & GDPR (WordPress plugin), published on 20 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-79, CWE-352

Which versions are affected by CVE-2021-36887?

It affects 1 product.

Products include Tarteaucitron.js - Cookies Legislation \& Gdpr Project Tarteaucitron.js - Cookies Legislation \& Gdpr.

How do I fix CVE-2021-36887?

No fix has been published for CVE-2021-36887 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-36887 being exploited?

There is no known exploitation of CVE-2021-36887 in the wild and no public exploit code.

Sources

Also known as GHSA-w9q6-vv8m-4f39.

Is CVE-2021-36887 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free