What’s Vulnerable › Vulnerabilities

CVE-2026-56785: FlatPress - Stored Cross-Site Scripting via Unescaped Comment and Contact Form Fields

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

How to fix

Upgrade to a fixed version: flatpressblog/flatpress 10be83c. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56785 or the next vulnerability affects your stack