CVE-2026-111319: AForms <= 2.2.8 - Unauthenticated Stored Cross-Site Scripting via Order Form 'attrs' Parameter
The AForms — Form Builder for Price Calculator & Cost Estimation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'attrs.<textattrid>.name' parameter in all versions up to, and including, 2.2.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The required nonce is publicly emitted via wplocalizescript on any page containing the [aforms-form] shortcode, making it trivially obtainable by any unauthenticated visitor and rendering the nonce check an ineffective barrier.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any unauthenticated visitor can exploit it. The nonce needed for the affected request is publicly exposed on pages containing the [aforms-form] shortcode, so it does not require an account or privileged access.
Which sites are exposed?
Sites using AForms versions through 2.2.8 are affected. Exploitation depends on a page containing the [aforms-form] shortcode, because that page emits the nonce required by the vulnerable functionality.
What happens after successful exploitation?
An attacker can store arbitrary web script through the attrs.<text_attr_id>.name parameter. The script executes in users' browsers when they access an injected page, with potential impact to confidentiality and integrity.