CVE-2025-31483: Miniflux Media Proxy vulnerable to Stored Cross-site Scripting due to improper Content-Security-Policy configuration
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.
Published Apr 4, 2025 · Updated Apr 7, 2025
Affected packages
miniflux.app/v2
- Ecosystem
- Go
- Affected
- < 2.2.7
- Fixed in
- 2.2.7
- Check
go list -m miniflux.app/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to Ry0taK, takumi-san-ai.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-55185
Open Redirect Bypass in miniflux-v2
medium5.1Jun 19, 2026CVE-2026-21885
Miniflux Media Proxy SSRF via /proxy endpoint allows access to internal network resources
medium6.5Jan 7, 2026CVE-2025-67713
Miniflux has an Open Redirect via protocol-relative redirect_url
medium5.3Dec 10, 2025CVE-2023-27591
Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics
high7.5No fixApr 2, 2025CVE-2023-27592
Stored XSS in Miniflux when opening a broken image due to unescaped ServerError in proxy handler
medium4.8Apr 2, 2025
