{"id":"CVE-2026-21885","aliases":["CVE-2026-21885","GHSA-xwh2-742g-w3wp","GO-2026-4287"],"related":[],"kind":"vulnerability","state":"published","title":"Miniflux Media Proxy SSRF via /proxy endpoint allows access to internal network resources","summary":"Miniflux 2 is an open source feed reader. Prior to version 2.2.16, Miniflux's media proxy endpoint (`GET /proxy/{encodedDigest}/{encodedURL}`) can be abused to perform Server-Side Request Forgery (SSRF). An authenticated user can cause Miniflux to generate a signed proxy URL for attacker-chosen media URLs embedded in feed entry content, including internal addresses (e.g., localhost, private RFC1918 ranges, or link-local metadata endpoints). Requesting the resulting `/proxy/...` URL makes Miniflux fetch and return the internal response. Version 2.2.16 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Miniflux 2 is an open source feed reader. Prior to version 2.2.16, Miniflux's media proxy endpoint (`GET /proxy/{encodedDigest}/{encodedURL}`) can be abused to perform Server-Side Request Forgery (SSRF). An authenticated user can cause Miniflux to generate a signed proxy URL for attacker-chosen media URLs embedded in feed entry content, including internal addresses (e.g., localhost, private RFC1918 ranges, or link-local metadata endpoints). Requesting the resulting `/proxy/...` URL makes Miniflux fetch and return the internal response. Version 2.2.16 fixes the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nMiniflux's media proxy endpoint (`GET /proxy/{encodedDigest}/{encodedURL}`) can be abused to perform Server-Side Request Forgery (SSRF). An authenticated user can cause Miniflux to generate a signed proxy URL for attacker-chosen media URLs embedded in feed entry content, including internal addresses (e.g., localhost, private RFC1918 ranges, or link-local metadata endpoints). Requesting the resulting `/proxy/...` URL makes Miniflux fetch and return the internal response.\n\n### Details\n- **Vulnerable route**: `GET /proxy/{encodedDigest}/{encodedURL}` (accessible without authentication, but requires a server-generated HMAC-signed URL)\n- **Handler**: `internal/ui/proxy.go` (`(*handler).mediaProxy`)\n- **Trigger**: entry content is rewritten to proxy media URLs (e.g., `mediaproxy.RewriteDocumentWithAbsoluteProxyURL(...)`), producing signed `/proxy/...` URLs.\n- **Root cause**: the proxy validates the URL scheme and HMAC signature, but does not restrict target hosts/IPs. As a result, requests to loopback/private/link-local addresses are allowed and fetched by the server.\n\n### PoC\n1) Run Miniflux 2.2.15 with default configuration (media proxy enabled by default: `MEDIA_PROXY_MODE=http-only`).\n\n2) Log in with any normal user account.\n\n3) Subscribe to a feed you control that contains an entry with an image URL pointing to an internal address reachable from the Miniflux server, e.g.:\n   - `<img src=\"http://<internal-target>/secret\">`\n   (Note: `<internal-target>` must be reachable *from the Miniflux process/network*; in containerized setups, `127.0.0.1` may not refer to the host.)\n\n4) Open the entry and locate the rewritten media proxy URL (`/proxy/<encodedDigest>/<encodedURL>`) in the rendered HTML/page source.\n\n5) Request the `/proxy/...` URL.\nExpected (vulnerable): Miniflux fetches the internal URL and returns the internal response (SSRF).\n\n### Impact\n**Type**: SSRF (Server-Side Request Forgery) via media proxy  \n**Who is impacted**: Miniflux instances with media proxy enabled (default configuration typically enables it for HTTP/mixed content handling).  \n**Impact**: attackers with a valid Miniflux account can fetch internal resources reachable from the Miniflux server (e.g., localhost services, private network services, and link-local endpoints such as 169.254.169.254), potentially exposing sensitive data.\n\n### Suggested CVSS (v3.1)\n`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N` (Base 6.5)\n\n\n\n\nIf there any questions or issues reproducing this, please contact: jeongwoolee340@gmail.com","format":"markdown","source":"ghsa"},{"lang":"en","text":"Miniflux Media Proxy SSRF via /proxy endpoint allows access to internal network resources in miniflux.app","format":"markdown","source":"go"},{"lang":"es","text":"Miniflux 2 es un lector de feeds de código abierto. Antes de la versión 2.2.16, el endpoint de proxy de medios de Miniflux ('GET /proxy/{encodedDigest}/{encodedURL}') puede ser abusado para realizar Falsificación de Petición del Lado del Servidor (SSRF). Un usuario autenticado puede hacer que Miniflux genere una URL de proxy firmada para URLs de medios elegidas por el atacante incrustadas en el contenido de la entrada del feed, incluyendo direcciones internas (p. ej., localhost, rangos privados RFC1918 o endpoints de metadatos de enlace local). Solicitar la URL resultante '/proxy/...' hace que Miniflux obtenga y devuelva la respuesta interna. La versión 2.2.16 corrige el problema.","source":"nvd"}],"published":"2026-01-07T19:22:14.000Z","modified":"2026-06-17T10:19:05.410Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 2.2.16","status":"affected"}],"vendor":"miniflux","product":"v2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.16"}],"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.16"}],"ecosystem":"Go","package":"miniflux.app/v2","purl":"pkg:golang/miniflux.app/v2","source":"go"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.2.16"}],"vendor":"miniflux_project","product":"miniflux","cpe":"cpe:2.3:a:miniflux_project:miniflux:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/miniflux/v2/security/advisories/GHSA-xwh2-742g-w3wp","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21885","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/miniflux/v2","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-01-08T14:52:34.949Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-21885","url":"https://www.cve.org/CVERecord?id=CVE-2026-21885","licence":"CVE Terms of Use","modified":"2026-01-08T15:55:28.121Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xwh2-742g-w3wp","url":"https://github.com/advisories/GHSA-xwh2-742g-w3wp","licence":"CC-BY-4.0","modified":"2026-02-03T03:15:42.309Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4287","url":"https://pkg.go.dev/vuln/GO-2026-4287","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:51.539Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-21885","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21885","licence":"Public domain","modified":"2026-06-17T10:19:05.410Z"}],"updatedAt":"2026-11-25T22:59:12.664Z","epss":{"score":0.00435,"percentile":0.29681,"date":"2026-11-30T12:00:22.000Z"}}