# cformsII <= 15.2 - Unauthenticated Reflected Cross-Site Scripting via 'cforms_pl' Parameter

- **ID:** WPSEC-2026-3946
- **Plugin:** cformsII (`cforms2`), https://wordpress.org/plugins/cforms2/
- **Affected versions:** all versions before 15.2.1
- **Fixed in:** 15.2.1 (Update to 15.2.1 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/cforms2
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3946/

## Description

The cformsII plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'cforms_pl' parameter in all versions up to, and including, 15.2. This is due to insufficient input sanitization and output escaping: the submitted 'cforms_pl' value replaces the {Permalink} template variable, which is expanded in hidden field values after they have been escaped and is printed into the hidden input's value attribute without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can trick a user into performing an action such as submitting a crafted form to a page that embeds a cformsII form containing a hidden field.

## References

- https://wpsec.com/vuln/WPSEC-2026-3946/
- https://plugins.svn.wordpress.org/cforms2/tags/15.2.1/
- https://wordpress.org/plugins/cforms2/

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

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.
