CVE-2026-111319
JSON

7.2high

AForms <= 2.2.8 - Unauthenticated Stored Cross-Site Scripting via Order Form 'attrs' Parameter

Severity
7.2high CVSS:3.1 by Wordfence
Published
Last changed
Assigned by
Wordfence

Description

The AForms — Form Builder for Price Calculator & Cost Estimation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'attrs.<text_attr_id>.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 wp_localize_script 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

Product or packageVersionsReported by
vividcolorsjp AForms — Form Builder for Price Calculator & Cost Estimationup to 2.2.8CVE List

Classification

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/c5494d42-6a70-4e69-a0f4-b3d6d0ce08f6?source=cve
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/src/asset/admin_common.js#L144
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/src/asset/admin_orders.js#L210
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/src/Infra/OrderMapper.php#L160
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/src/Domain/InputProcessor.php#L584
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/src/App/Front/OrderNew.php#L101
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/src/Shell/Dispatcher.php#L169
https://plugins.trac.wordpress.org/browser/aforms-form-builder-for-price-calculator-cost-estimation/tags/2.2.8/aforms.php#L145

Sources

SourceRecordLicence
CVE ListCVE-2026-111319 changed 2026-12-02CVE Terms of Use
NVDCVE-2026-111319 changed 2026-12-02Public domain