SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz <= 2.14.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Icon Block Accessibility Description

Medium 6.4 CWE-79Fixed in 2.14.1
ID
WPSEC-2026-3553
Plugin
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz (sureforms)
Affected
from 0.0.7 before 2.14.1
Remediation
Update to 2.14.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-20
Attack surface
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz on WPSec AttackSurface
Fix released
Published

Description

The SureForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'iconAccessabilityDesc' attribute of the srfm/icon block in all versions from 0.0.7 up to, and including, 2.14.0. This is due to insufficient output escaping: the escaped description is placed into the replacement string of a preg_replace() call, so regex back-references such as $1 or \0 copy the icon's own quoted SVG attributes into the aria-label value and close it early, and the text after them is parsed as new attributes of the <svg> element. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0