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

Published Jun 23, 2026
·
Updated

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 Software

1 affected component
flatpress flatpress

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FlatPress to a version that resolves this vulnerability.

    Patch commit 10be83c

Event History

Jun 23, 2026
CVE Published
via MITRE·10:09 PM
Data Sourced
via MITRE·10:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56785?

CVE-2026-56785 has a high severity score of 8.2.

2

How do I fix CVE-2026-56785?

To fix CVE-2026-56785, update FlatPress to the version following commit 10be83c.

3

What is the risk associated with CVE-2026-56785?

CVE-2026-56785 poses a risk of stored cross-site scripting (XSS) through unescaped fields in comments and contact forms.

4

What types of fields are vulnerable in CVE-2026-56785?

The vulnerable fields in CVE-2026-56785 include name, URL, and email fields in comment and contact forms.

5

What impact can CVE-2026-56785 have on users?

CVE-2026-56785 allows attackers to inject arbitrary HTML and JavaScript, potentially leading to unauthorized actions by users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203