Stored cross-site scripting in AForms WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The AForms Form Builder for Price Calculator & Cost Estimation plugin for WordPress, up to and including 2.2.8, does not sanitize input or escape output for the 'attrs' order form parameter. This lets an unauthenticated attacker store arbitrary web scripts (CWE-79) that run when a user opens an injected page. The nonce that would normally block such requests is published on any page with the [aforms-form] shortcode, so it offers no protection.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vividcolorsjp | AForms — Form Builder for Price Calculator & Cost Estimation | up to 2.2.8 | — | No fix listed | CNA |
- AForms — Form Builder for Price Calculator & Cost Estimation Vendorvividcolorsjp Affected up to 2.2.8 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for AForms Form Builder for Price Calculator & Cost Estimation.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Timeline
- 2026-12-02 Threatist record created from CVE-2026-111319
- 2026-12-02 Alias added: GHSA-fg2f-pwx8-x5m8
References
Other 8
- 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
More vividcolorsjp vulnerabilities
- TI-2024-12580 AForms Eats <= 1.3.1 - Unauthenticated Full Path Disclosure CVSS 3.1MEDIUM 5.3
- TI-2024-06087 AForms <= 2.2.6 - Unauthenticated Full Path Disclosure CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-111319 · CVE Program
- CVE-2026-111319 · NVD
- GHSA-fg2f-pwx8-x5m8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences