Stored script execution via unescaped form fields
Published Jun 23, 2026 · Updated Jun 23, 2026
Stored XSS in FlatPress before commit 10be83c allows remote attackers to execute scripts in viewers' browsers through comment or contact fields. Smarty templates render stored name, URL, and email values without contextual escaping, while URL handling fails to restrict links reliably to HTTP or HTTPS. Submission requires no authentication, but impact occurs when another user, including an administrator, views the stored content.
Summary
What happened
Stored XSS in FlatPress before commit 10be83c allows remote attackers to execute scripts in viewers' browsers through comment or contact fields. Smarty templates render stored name, URL, and email values without contextual escaping, while URL handling fails to restrict links reliably to HTTP or HTTPS. Submission requires no authentication, but impact occurs when another user, including an administrator, views the stored content.
The record
- CVE
- CVE-2026-56785
- Published
- Jun 23, 2026
- Updated
- Jun 23, 2026
- Vendor
- FlatPress
- Product
- FlatPress
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 23, 2026CVE publishedPublication date reported by the CVE source.
- Jun 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=10be83c
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo