Skip to main content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVE-2025-31483

Severity Medium
Score 4.8/10

Summary

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', and form-action 'none'; sandbox;. This vulnerability affects miniflux.app/v2 package versions prior to 2.2.7.

CWE-79 - Cross Site Scripting

Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.

Advisory Timeline

  • Published