CVE-2025-25460 Cross-site scripting in n/a

Medium 4.8 Published Updated

Authenticated attackers can inject malicious JavaScript into blog posts via the Add Entry feature, leading to script execution for other users.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-25460?

CVE-2025-25460 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Feb 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A stored Cross-Site Scripting (XSS) vulnerability was identified in FlatPress 1.3.1 within the "Add Entry" feature. This vulnerability allows authenticated attackers to inject malicious JavaScript payloads into blog posts, which are executed when other users view the posts. The issue arises due to improper input sanitization of the "TextArea" field in the blog entry submission form.

Weakness: CWE-79

Which versions are affected by CVE-2025-25460?

It affects 1 product.

Products include Flatpress Flatpress.

How do I fix CVE-2025-25460?

No fix has been published for CVE-2025-25460 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-25460 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25460 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-rfwv-x796-g3w9.

Is CVE-2025-25460 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free