Advisory

GHSA-cq88-842x-2jhp

Also known as: CVE-2025-31483, GO-2025-3591

Summary

Miniflux Media Proxy vulnerable to Stored Cross-site Scripting due to improper Content-Security-Policy configuration

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-04 14:09 UTC
Modified
2025-04-09 17:42 UTC

Affected packages and fixes

miniflux.app/v2

Go · All systems

Affected

  • introduced 0, fixed 2.2.7 (semver)

Fixed versions

2.2.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences