# WS Form LITE – Drag & Drop Contact Form Builder <= 1.12.21 - Unauthenticated Sensitive Information Exposure via 'wsf_post_id' Parameter

- **ID:** WPSEC-2026-4342
- **Plugin:** WS Form LITE – Drag & Drop Contact Form Builder (`ws-form`), https://wordpress.org/plugins/ws-form/
- **Affected versions:** all versions before 1.12.22
- **Fixed in:** 1.12.22 (Update to 1.12.22 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ws-form
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4342/

## Description

The WS Form LITE – Drag & Drop Contact Form Builder plugin for WordPress is vulnerable to Sensitive Information Exposure via the 'wsf_post_id' and 'post_id' parameters in all versions up to, and including, 1.12.21. This is due to the plugin loading any post by the supplied ID as the root post for #post_* variables without checking whether the post is publicly viewable, password protected, or readable by the current user. This makes it possible for unauthenticated attackers to get the title, slug, status, type, parent ID, dates and URLs of private, draft or password-protected posts from the public config REST endpoint. If a form's actions use post variables, attackers can also get the post's content and excerpt from those actions.

## References

- https://wpsec.com/vuln/WPSEC-2026-4342/
- https://plugins.svn.wordpress.org/ws-form/tags/1.12.22/
- https://wordpress.org/plugins/ws-form/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4342/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
