{"id":"CVE-2025-31483","aliases":["CVE-2025-31483","GHSA-cq88-842x-2jhp","GO-2025-3591"],"related":[],"kind":"vulnerability","state":"published","title":"Stored XSS in Miniflux Media Proxy due to improper Content-Security-Policy configuration","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'; form-action 'none'; sandbox;. This vulnerability is fixed in 2.2.7.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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'; form-action 'none'; sandbox;. This vulnerability is fixed in 2.2.7.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nDue 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.\n\n## Impact\n\nA 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.\n\n## Mitigation\n\nThe CSP for the media proxy has been changed from `default-src 'self'` to `default-src 'none'; form-action 'none'; sandbox;`.\n\nUpgrade to Miniflux >= 2.2.7\n\n## Credit\n[RyotaK](https://ryotak.net) (GMO Flatt Security Inc.) with [takumi-san.ai](https://takumi-san.ai)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Miniflux Media Proxy vulnerable to Stored Cross-site Scripting due to improper Content-Security-Policy configuration in miniflux.app","format":"markdown","source":"go"},{"lang":"es","text":"Miniflux es un lector de feeds. Debido a una política de seguridad de contenido (CSP) débil en la ruta /proxy/*, un atacante puede eludir la CSP del proxy multimedia y ejecutar cross-site scripting al abrir imágenes externas en una nueva pestaña o ventana. Para mitigar la vulnerabilidad, la CSP del proxy multimedia se ha cambiado de `default-src 'self' a `default-src 'none'; form-action 'none'; sandbox;`. Esta vulnerabilidad se corrigió en la versión 2.2.7.","source":"nvd"}],"published":"2025-04-03T18:07:32.241Z","modified":"2026-06-17T09:10:28.857Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.2.7","status":"affected"}],"vendor":"miniflux","product":"v2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.7"}],"ecosystem":"Go","package":"miniflux.app/v2","purl":"pkg:golang/miniflux.app/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"miniflux.app","purl":"pkg:golang/miniflux.app","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.7"}],"ecosystem":"Go","package":"miniflux.app/v2","purl":"pkg:golang/miniflux.app/v2","source":"go"}],"references":[{"url":"https://github.com/miniflux/v2/security/advisories/GHSA-cq88-842x-2jhp","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/miniflux/v2/commit/cb695e653a08af4cabcb277c271ce74bd0c746e6","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31483","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/miniflux/v2","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-03T18:49:23.775Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31483","url":"https://www.cve.org/CVERecord?id=CVE-2025-31483","licence":"CVE Terms of Use","modified":"2025-04-03T18:49:45.617Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cq88-842x-2jhp","url":"https://github.com/advisories/GHSA-cq88-842x-2jhp","licence":"CC-BY-4.0","modified":"2025-04-09T17:42:02.482Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3591","url":"https://pkg.go.dev/vuln/GO-2025-3591","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:28.741Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31483","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31483","licence":"Public domain","modified":"2026-06-17T09:10:28.857Z"}],"updatedAt":"2026-11-25T22:58:56.015Z","epss":{"score":0.00426,"percentile":0.38787,"date":"2026-12-01T12:00:22.000Z"}}