CVE-2026-101921: WPForms <= 2.0.2.1 - Reflected Cross-Site Scripting via 'query_var' Smart Tag in iframe srcdoc Attribute
Vulnerability summary
CVE-2026-101921 is a medium (CVSS 4.7) Cross-site Scripting vulnerability in smub wpforms – ai form builder for wordpress – contact forms, payment forms, survey form, quiz & more. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.5% of scored vulnerabilities. Fixed in 2.0.2.2.
Timeline
- 10-10-2026PublishedVulnerability first disclosed.
- 11-10-2026Last modifiedVulnerability information updated.
Description
The WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'attacker-chosen key referenced by the smart tag (e.g. "x")' parameter in all versions up to, and including, 2.0.2.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires that a site administrator has previously saved a form whose description embeds a {query_var} Smart Tag inside an iframe srcdoc attribute and has enabled Show Description on a public-facing page.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- wordfenceSource4.7MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Smub1 product
Wordpress1 product
- wpforms-lite≤ 2.0.2.1 (fixed in 2.0.2.2)
2 vendors · 2 products