CVE-2023-5530 Ninja Forms < 3.6.34 - Admin+ Stored XSS
High-privilege users can inject malicious scripts via unsanitized label fields in the Ninja Forms WordPress plugin.
- 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-2023-5530?
CVE-2023-5530 is a medium-severity cross-site scripting vulnerability in Ninjaforms Ninja Forms, published on 6 Nov 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Ninja Forms Contact Form WordPress plugin before 3.6.34 does not sanitize and escape its label fields, which could allow high privilege users such as admin to perform Stored XSS attacks. Only users with the unfiltered_html capability can perform this, and such users are already allowed to use JS in posts/comments etc however the vendor acknowledged and fixed the issue
Weakness: CWE-79
Which versions are affected by CVE-2023-5530?
It affects 1 product.
Products include Ninjaforms Ninja Forms.
How do I fix CVE-2023-5530?
No fix has been published for CVE-2023-5530 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-2023-5530 being exploited?
There is no known exploitation of CVE-2023-5530 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-8m7g-w3gq-3g84.