Description
FlatPress contains a stored cross-site scripting vulnerability in comment and contact forms where name, URL, and email fields are rendered without proper output encoding in Smarty templates. Attackers can inject arbitrary HTML and JavaScript through these fields to execute malicious scripts in browsers of viewers including administrators, or bypass URL scheme validation to inject javascript: or data: URIs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FlatPress | FlatPress | < 10be83c | 10be83c |
References
- https://github.com/flatpressblog/flatpress/commit/10be83cbaac5ce0e51250b9d57de7f257b8f34f8 patch
- https://github.com/dilipk5/flatpressd-cms-sxss vendor-advisory
- https://www.vulncheck.com/advisories/flatpress-stored-cross-site-scripting-via-unescaped-comment-and-contact-form-fields third-party-advisory