Happyforms < 1.22.0 - Contributor+ Stored XSS
Description
Happyforms WordPress plugin <=1.21.1 allows contributor+ users to inject stored XSS via unescaped block options.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Happyforms WordPress plugin <=1.21.1 allows contributor+ users to inject stored XSS via unescaped block options.
Vulnerability
The Happyforms WordPress plugin prior to version 1.22.0 fails to validate and escape some of its block options before outputting them back in a page or post where the block is embedded. This vulnerability allows stored cross-site scripting (XSS) when a user with the contributor role or higher inserts a Happyforms block with specially crafted block option values [1].
Exploitation
An attacker must have a WordPress user account with at least the contributor role, which grants the ability to create and edit posts or pages. The attacker inserts or edits a Happyforms block and sets one of the vulnerable block options to a malicious JavaScript payload. When a site administrator or other user views the affected post/page, the payload executes in their browser [1].
Impact
Successful exploitation results in stored cross-site scripting. The attacker can execute arbitrary JavaScript in the context of the victim's browser session, potentially leading to cookie theft, session hijacking, or defacement of the site. The attack targets users who view the compromised content, including administrators [1].
Mitigation
Update to Happyforms version 1.22.0 or later, which contains the fix for this vulnerability. No workaround is available for unpatched versions. The plugin is actively maintained [1].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- WordPress/Happyformsdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- wpscan.com/vulnerability/b28150e7-214b-4bcd-85c0-e819c4223484mitreexploitvdb-entrytechnical-description
News mentions
0No linked articles in our index yet.