All reports
Medium

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

Affected versions

Version ranges need review.

Affected versions
< 2.2.7
Fixed version
2.2.7
Affected versions
<2.2.7
Fixed version
2.2.7
Affected versions
*
Fixed version
Not reported

Exploitation

CVE-2025-31483

Probability of exploitation in the next 30 days: 0.43%

FIRST EPSS · 2026-11-22

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

Links

Credits

  • Ry0taK
  • takumi-san-ai