Affected versions
- Affected versions
- <=2.12.9
- Fixed version
- 2.13.0
Exploitation
Description
The SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 2.12.9. This is due to insufficient sanitization of the style URL parameter (background and accent color values) before they are rendered into the template preview page, fixed by routing all style input through sanitize_style() which enforces sanitize_hex_color() and sanitize_key() on every accepted value. This makes it possible for unauthenticated attackers to inject arbitrary HTML or script content into template preview pages that execute when an unauthenticated user visits a crafted preview URL.
Links
Credits
- Filip Kowalski

