CVE-2021-36827 WordPress Ninja Forms Contact Form plugin <= 3.6.9 - Authenticated Stored Cross-Site Scripting (XSS) vulnerability
Authenticated administrators can inject malicious scripts via the label field in Ninja Forms, potentially leading to session hijacking or site compromise.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-36827?
CVE-2021-36827 is a medium-severity cross-site scripting vulnerability in Ninjaforms Ninja Forms, published on 16 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Auth. (admin+) Stored Cross-Site Scripting (XSS) vulnerability in Saturday Drive's Ninja Forms Contact Form plugin <= 3.6.9 at WordPress via "label".
Weakness: CWE-79
Which versions are affected by CVE-2021-36827?
It affects 1 product.
Products include Ninjaforms Ninja Forms.
How do I fix CVE-2021-36827?
No fix has been published for CVE-2021-36827 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-36827 being exploited?
There is no known exploitation of CVE-2021-36827 in the wild and no public exploit code.
Other vulnerabilities in Ninjaforms Ninja Forms
- CVE-2025-9083 Ninja-forms < 3.11.1 - Unauthenticated PHP Objection
- CVE-2016-1209 Deserialization in n/a
- CVE-2018-20981 Information disclosure in n/a
- CVE-2024-25572 Cross-site request forgery in Ninja Forms
- CVE-2021-24163 Ninja Forms < 3.4.34 - Authenticated SendWP Plugin Installation and Client Secret Key Disclosure
Sources
Also known as GHSA-f2h8-cw2w-qx44.