GitHub Advisoryadvisory · Go

GHSA-cq88-842x-2jhp Miniflux Media Proxy vulnerable to Stored Cross-site Scripting due to improper Content-Security-Policy configuration

MEDIUM Published 2025-04-04 Modified 2025-04-07 Official page ↗
Aliases
CVE-2025-31483
Ecosystem
Go
Packages
miniflux.app/v2
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Weaknesses
CWE-79
Reviewed
2025-04-04

Affected packages

• Go miniflux.app/v2: < 2.2.7 → fixed in 2.2.7

Description

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

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References