cformsII <= 15.2 - Unauthenticated Reflected Cross-Site Scripting via 'cforms_pl' Parameter
- ID
- WPSEC-2026-3946
- Plugin
- cformsII (cforms2)
- Affected
- all versions before 15.2.1
- Remediation
- Update to 15.2.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-25
- Attack surface
- cformsII on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS