CVE-2026-15256 Ninja Forms < 3.14.10 - Unauthenticated Arbitrary Shortcode Execution via Query-String Populated Field Default
Unauthenticated attackers can execute arbitrary shortcodes via query-string input in Ninja Forms, potentially leading to code execution on the site.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-15256?
CVE-2026-15256 is a medium-severity code injection vulnerability in Unknown Ninja Forms, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Ninja Forms WordPress plugin before 3.14.10 does not prevent user-supplied query-string input, used to pre-populate a form field's default value, from being processed as a shortcode, allowing unauthenticated attackers to execute arbitrary shortcodes registered on the site when a form so configured is embedded on a public page.
Weakness: CWE-74
Which versions are affected by CVE-2026-15256?
How do I fix CVE-2026-15256?
No fix has been published for CVE-2026-15256 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-15256 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-15256 exists.
Sources
Also known as GHSA-2xwp-m9v6-767p.