CVE-2023-5530 Ninja Forms < 3.6.34 - Admin+ Stored XSS

Medium 4.8 Published Updated

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.

All Ninjaforms Ninja Forms vulnerabilities

Sources

Also known as GHSA-8m7g-w3gq-3g84.

Is CVE-2023-5530 in your software?

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

Check your SBOMs for free