Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable stored XSS submittable without auth (PR:N), requires a victim to view the affected page (UI:R), and the script executes in the admin's authenticated context, changing scope (S:C) with high confidentiality impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FlatPress versions prior to commit 10be83c, 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.
AnalysisAI
Stored cross-site scripting in FlatPress (commits prior to 10be83c) allows unauthenticated remote attackers to inject persistent HTML and JavaScript via the name, URL, and email fields of comment and contact forms. The payloads execute in any viewer's browser - including administrators reviewing comments in the admin panel - and weak URL scheme validation additionally permits javascript: and data: URI injection. No public exploit identified at time of analysis, but the patch and a third-party advisory disclose the affected sinks in detail.
Technical ContextAI
FlatPress is a flat-file PHP blog engine that renders user-submitted comment metadata through Smarty templates. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the templates admin/panels/entry/admin.entry.commentlist.tpl and fp-interface/themes/leggero/comments.tpl interpolated $name, $url, and $email directly into HTML without an output-encoding modifier, and the comments.php / contact.php sanitize_*() helpers only enforced an http(s):// prefix substring check rather than parsing the URL and validating the scheme via parse_url(). The fix adds the wp_specialchars:1 Smarty modifier at the sinks and rewrites the URL sanitizer to reject control characters, HTML-significant bytes, and any scheme other than http/https. CPE coverage (cpe:2.3:a:flatpress:flatpress:*) lists all versions as affected up to the fix commit.
RemediationAI
Upstream fix available (commit 10be83c); released patched version not independently confirmed, so update FlatPress to a build that includes commit 10be83cbaac5ce0e51250b9d57de7f257b8f34f8 or later from https://github.com/flatpressblog/flatpress. As compensating controls until the upgrade is deployed, disable public commenting and the contact form in the FlatPress admin (eliminates the injection sinks but breaks reader engagement), require moderation of every comment before it appears (reduces window of exposure for admin viewers but does not protect the moderator themselves who views unmoderated comments), or apply the template change manually by adding the |wp_specialchars:1 Smarty modifier to $name, $url, and $email in admin/panels/entry/admin.entry.commentlist.tpl and fp-interface/themes/leggero/comments.tpl and backporting the parse_url-based scheme check in comments.php and contact.php. A site-wide Content-Security-Policy that forbids inline script and javascript:/data: URI navigation will blunt payload execution but may break legitimate themes or plugins that rely on inline handlers.
Path Traversal in GitHub repository flatpressblog/flatpress prior to 1.3. Rated critical severity (CVSS 9.8), this vulne
PHP Remote File Inclusion in GitHub repository flatpressblog/flatpress prior to 1.3. Rated critical severity (CVSS 9.8),
A stored cross-site scripting (XSS) vulnerability exists in flatpressblog/flatpress version 1.3. Rated high severity (CV
External Control of File Name or Path in GitHub repository flatpressblog/flatpress prior to 1.3. Rated high severity (CV
FlatPress CMS version latest is vulnerable to Cross-Site Request Forgery (CSRF) attacks that allow an attacker to enable
Flatpress v1.2.1 was discovered to contain a remote code execution (RCE) vulnerability in the Upload File function. Rate
flatpress 1.3.1 is vulnerable to Cross Site Scripting (XSS) in Administration area via Manage categories. Rated medium s
A cross-site scripting (XSS) vulnerability in Flatpress v1.3 allows attackers to execute arbitrary web scripts or HTML v
A cross-site scripting (XSS) vulnerability in Flatpress v1.3 allows attackers to execute arbitrary web scripts or HTML v
Cross-site Scripting (XSS) - Reflected in GitHub repository flatpressblog/flatpress prior to 1.3. Rated medium severity
A vulnerability was found in FlatPress. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
Flatpress v1.2.1 was discovered to contain a reflected cross-site scripting (XSS) vulnerability via the page parameter a
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38634
GHSA-gf5w-3f8w-9fm6