---
id: CVE-2026-56785
title: >-
  FlatPress - Stored Cross-Site Scripting via Unescaped Comment and Contact Form
  Fields
summary: >-
  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
  JavaSc…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: FlatPress
product: FlatPress
affected:
  - FlatPress < 10be83c
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-24T13:05:10.684705Z'
published: '2026-06-23'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T14:17:51.789Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56785'
references:
  - url: >-
      https://github.com/flatpressblog/flatpress/commit/10be83cbaac5ce0e51250b9d57de7f257b8f34f8
  - url: 'https://github.com/dilipk5/flatpressd-cms-sxss'
  - url: >-
      https://www.vulncheck.com/advisories/flatpress-stored-cross-site-scripting-via-unescaped-comment-and-contact-form-fields
tags:
  - cve.org
epss: 0.00421
epssPercentile: 0.33706
ingestedAt: '2026-09-24T15:45:56.727Z'
---

## Overview

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

- `FlatPress < 10be83c`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
