CVE-2026-88996: WPForms <= 2.0.2 - Reflected Cross-Site Scripting via 'page_title' POST Parameter
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 'pagetitle' POST Parameter via {pagetitle} Smart Tag in all versions up to, and including, 2.0.2 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. This is only exploitable on forms whose admin-authored confirmation message places the {pagetitle} Smart Tag inside an HTML attribute context.
Affected Software
Event History
Frequently Asked Questions
Which WPForms deployments are exposed to this issue?
Deployments running WPForms version 2.0.2 or earlier are affected only if a form has an administrator-authored confirmation message that uses the {page_title} Smart Tag within an HTML attribute context.
What does an attacker need to exploit it?
The attacker does not need authentication, but must persuade a user to perform an action such as clicking a crafted link. Exploitation depends on the vulnerable form configuration described above.
How can administrators determine whether their forms are vulnerable?
Review confirmation messages for each form and identify uses of the {page_title} Smart Tag. A form is exploitable when that Smart Tag is placed inside an HTML attribute context.
What can be done if updating is not immediately possible?
Remove {page_title} from HTML attributes in confirmation messages, or change the confirmation message so the Smart Tag is not used in an attribute context. This removes the configuration condition required for exploitation.