CVE-2025-31483: Stored XSS in Miniflux Media Proxy due to improper Content-Security-Policy configuration

Published Apr 3, 2025
·
Updated

Summary

Due to a weak Content Security Policy on the /proxy/ route, an attacker can bypass the CSP of the media proxy and execute cross-site scripting when opening external images in a new tab/window.

Impact

A malicious feed added to Miniflux can execute arbitrary JavaScript in the user's browser when opening external resources, such as proxified images, in a new tab or window.

Mitigation

The CSP for the media proxy has been changed from default-src 'self' to default-src 'none'; form-action 'none'; sandbox;.

Upgrade to Miniflux >= 2.2.7

Credit RyotaK (GMO Flatt Security Inc.) with takumi-san.ai

Other sources

Miniflux is a feed reader. Due to a weak Content Security Policy on the /proxy/ route, an attacker can bypass the CSP of the media proxy and execute cross-site scripting when opening external images in a new tab/window. To mitigate the vulnerability, the CSP for the media proxy has been changed from default-src 'self' to default-src 'none'; form-action 'none'; sandbox;. This vulnerability is fixed in 2.2.7.

— MITRE

Affected Software

2 affected componentsFixes available
Miniflux Miniflux<2.2.7
go/miniflux.app/v2<2.2.7
2.2.7

Event History

Apr 3, 2025
CVE Published
via MITRE·06:07 PM
Data Sourced
via MITRE·06:07 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Apr 4, 2025
Advisory Published
via GitHub·02:09 PM
Oct 29, 57230
Event
via FIRST·03:24 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-31483?

CVE-2025-31483 has been classified as a moderate severity vulnerability due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2025-31483?

To fix CVE-2025-31483, update to Miniflux version 2.2.7 or later, which implements a more stringent Content Security Policy for the media proxy.

3

What impact does CVE-2025-31483 have on Miniflux users?

CVE-2025-31483 can allow attackers to execute cross-site scripting when users open external images, potentially compromising user data.

4

Is CVE-2025-31483 present in all versions of Miniflux?

CVE-2025-31483 is present in all versions of Miniflux prior to version 2.2.7.

5

What feature of Miniflux is affected by CVE-2025-31483?

CVE-2025-31483 affects the /proxy/* route in Miniflux, specifically related to the media proxy's Content Security Policy.

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