CVE-2026-5169 Cross-site scripting in Inquiry form to posts or pages
Administrators can inject arbitrary scripts via the Form Header field, leading to stored XSS execution for other users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5169?
CVE-2026-5169 is a medium-severity cross-site scripting vulnerability in udamadu Inquiry form to posts or pages, published on 8 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Inquiry Form to Posts or Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Form Header' field in versions up to and including 1.0. This is due to insufficient input sanitization when saving via update_option() and lack of output escaping when displaying the stored value. The vulnerability exists in two locations: (1) the plugin settings page at inq_form.php line 180 where the value is echoed into an HTML attribute without esc_attr(), and (2) the front-end shortcode output at inquery_form_to_posts_or_pages.php line 139 where the value is output in HTML content without esc_html(). This makes it possible for authenticated attackers with administrator-level access to inject arbitrary web scripts that will execute whenever a user accesses the plugin settings page or views a page containing the [inquiry_form] shortcode.
Weakness: CWE-79
Which versions are affected by CVE-2026-5169?
How do I fix CVE-2026-5169?
No fix has been published for CVE-2026-5169 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-2026-5169 being exploited?
There is no known exploitation of CVE-2026-5169 in the wild and no public exploit code.
Sources
Also known as GHSA-j4gw-px6w-59j5.