Vulnerabilites related to miniflux - v2
CVE-2025-31483 (GCVE-0-2025-31483)
Vulnerability from cvelistv5
Published
2025-04-03 18:07
Modified
2025-04-03 18:49
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.
Impacted products
Vendor Product Version
miniflux v2 Version: < 2.2.7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-31483",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-04-03T18:49:23.775945Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-04-03T18:49:45.617Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "v2",
          "vendor": "miniflux",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.2.7"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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 \u0027self\u0027 to default-src \u0027none\u0027; form-action \u0027none\u0027; sandbox;. This vulnerability is fixed in 2.2.7."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 4.8,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "ACTIVE",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "LOW",
            "vulnIntegrityImpact": "LOW"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-04-03T18:07:32.241Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/miniflux/v2/security/advisories/GHSA-cq88-842x-2jhp",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/miniflux/v2/security/advisories/GHSA-cq88-842x-2jhp"
        },
        {
          "name": "https://github.com/miniflux/v2/commit/cb695e653a08af4cabcb277c271ce74bd0c746e6",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/commit/cb695e653a08af4cabcb277c271ce74bd0c746e6"
        }
      ],
      "source": {
        "advisory": "GHSA-cq88-842x-2jhp",
        "discovery": "UNKNOWN"
      },
      "title": "Stored XSS in Miniflux Media Proxy due to improper Content-Security-Policy configuration"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-31483",
    "datePublished": "2025-04-03T18:07:32.241Z",
    "dateReserved": "2025-03-28T13:36:51.297Z",
    "dateUpdated": "2025-04-03T18:49:45.617Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2023-27592 (GCVE-0-2023-27592)
Vulnerability from cvelistv5
Published
2023-03-17 19:04
Modified
2025-02-25 14:53
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Summary
Miniflux is a feed reader. Since v2.0.25, Miniflux will automatically proxy images served over HTTP to prevent mixed content errors. When an outbound request made by the Go HTTP client fails, the `html.ServerError` is returned unescaped without the expected Content Security Policy header added to valid responses. By creating an RSS feed item with the inline description containing an `<img>` tag with a `srcset` attribute pointing to an invalid URL like `http:a<script>alert(1)</script>`, we can coerce the proxy handler into an error condition where the invalid URL is returned unescaped and in full. This results in JavaScript execution on the Miniflux instance as soon as the user is convinced (e.g. by a message in the alt text) to open the broken image. An attacker can execute arbitrary JavaScript in the context of a victim Miniflux user when they open a broken image in a crafted RSS feed. This can be used to perform actions on the Miniflux instance as that user and gain administrative access to the Miniflux instance if it is reachable and the victim is an administrator. A patch is available in version 2.0.43. As a workaround sisable image proxy; default value is `http-only`.
Impacted products
Vendor Product Version
miniflux v2 Version: >= 2.0.25, < 2.0.43
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T12:16:35.842Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "https://github.com/miniflux/v2/security/advisories/GHSA-mqqg-xjhj-wfgw",
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/security/advisories/GHSA-mqqg-xjhj-wfgw"
          },
          {
            "name": "https://github.com/miniflux/v2/pull/1746",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/pull/1746"
          },
          {
            "name": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L76",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L76"
          },
          {
            "name": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L90",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L90"
          },
          {
            "name": "https://github.com/miniflux/v2/releases/tag/2.0.25",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/releases/tag/2.0.25"
          },
          {
            "name": "https://github.com/miniflux/v2/releases/tag/2.0.43",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/releases/tag/2.0.43"
          },
          {
            "name": "https://miniflux.app/docs/configuration.html#proxy-images",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://miniflux.app/docs/configuration.html#proxy-images"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-27592",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-25T14:28:47.043307Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-25T14:53:55.753Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "v2",
          "vendor": "miniflux",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 2.0.25, \u003c 2.0.43"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Miniflux is a feed reader. Since v2.0.25, Miniflux will automatically proxy images served over HTTP to prevent mixed content errors. \n\nWhen an outbound request made by the Go HTTP client fails, the `html.ServerError` is returned unescaped without the expected Content Security Policy header added to valid responses.\n\nBy creating an RSS feed item with the inline description containing an `\u003cimg\u003e` tag with a `srcset` attribute pointing to an invalid URL like `http:a\u003cscript\u003ealert(1)\u003c/script\u003e`, we can coerce the proxy handler into an error condition where the invalid URL is returned unescaped and in full.\n\nThis results in JavaScript execution on the Miniflux instance as soon as the user is convinced (e.g. by a message in the alt text) to open the broken image.\n\nAn attacker can execute arbitrary JavaScript in the context of a victim Miniflux user when they open a broken image in a crafted RSS feed. This can be used to perform actions on the Miniflux instance as that user and gain administrative access to the Miniflux instance if it is reachable and the victim is an administrator.\n\nA patch is available in version 2.0.43. As a workaround sisable image proxy; default value is `http-only`."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-03-17T19:04:00.630Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/miniflux/v2/security/advisories/GHSA-mqqg-xjhj-wfgw",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/miniflux/v2/security/advisories/GHSA-mqqg-xjhj-wfgw"
        },
        {
          "name": "https://github.com/miniflux/v2/pull/1746",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/pull/1746"
        },
        {
          "name": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L76",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L76"
        },
        {
          "name": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L90",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/blob/b2fd84e0d376a3af6329b9bb2e772ce38a25c31c/ui/proxy.go#L90"
        },
        {
          "name": "https://github.com/miniflux/v2/releases/tag/2.0.25",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/releases/tag/2.0.25"
        },
        {
          "name": "https://github.com/miniflux/v2/releases/tag/2.0.43",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/releases/tag/2.0.43"
        },
        {
          "name": "https://miniflux.app/docs/configuration.html#proxy-images",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://miniflux.app/docs/configuration.html#proxy-images"
        }
      ],
      "source": {
        "advisory": "GHSA-mqqg-xjhj-wfgw",
        "discovery": "UNKNOWN"
      },
      "title": "Stored XSS in Miniflux when opening a broken image due to unescaped ServerError in proxy handler"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2023-27592",
    "datePublished": "2023-03-17T19:04:00.630Z",
    "dateReserved": "2023-03-04T01:03:53.635Z",
    "dateUpdated": "2025-02-25T14:53:55.753Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}

CVE-2023-27591 (GCVE-0-2023-27591)
Vulnerability from cvelistv5
Published
2023-03-17 19:04
Modified
2025-02-25 14:53
CWE
  • CWE-1220 - Insufficient Granularity of Access Control
  • CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
Summary
Miniflux is a feed reader. Prior to version 2.0.43, an unauthenticated user can retrieve Prometheus metrics from a publicly reachable Miniflux instance where the `METRICS_COLLECTOR` configuration option is enabled and `METRICS_ALLOWED_NETWORKS` is set to `127.0.0.1/8` (the default). A patch is available in Miniflux 2.0.43. As a workaround, set `METRICS_COLLECTOR` to `false` (default) or run Miniflux behind a trusted reverse-proxy.
Impacted products
Vendor Product Version
miniflux v2 Version: < 2.0.43
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T12:16:35.891Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v",
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v"
          },
          {
            "name": "https://github.com/miniflux/v2/pull/1745",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/pull/1745"
          },
          {
            "name": "https://github.com/miniflux/v2/releases/tag/2.0.43",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/miniflux/v2/releases/tag/2.0.43"
          },
          {
            "name": "https://miniflux.app/docs/configuration.html#metrics-collector",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://miniflux.app/docs/configuration.html#metrics-collector"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-27591",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-25T14:30:31.150918Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-25T14:53:48.603Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "v2",
          "vendor": "miniflux",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.0.43"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Miniflux is a feed reader. Prior to version 2.0.43, an unauthenticated user can retrieve Prometheus metrics from a publicly reachable Miniflux instance where the `METRICS_COLLECTOR` configuration option is enabled and `METRICS_ALLOWED_NETWORKS` is set to `127.0.0.1/8` (the default). A patch is available in Miniflux 2.0.43. As a workaround, set `METRICS_COLLECTOR` to `false` (default) or run Miniflux behind a trusted reverse-proxy."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-1220",
              "description": "CWE-1220: Insufficient Granularity of Access Control",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-200",
              "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-03-17T19:04:03.702Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/miniflux/v2/security/advisories/GHSA-3qjf-qh38-x73v"
        },
        {
          "name": "https://github.com/miniflux/v2/pull/1745",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/pull/1745"
        },
        {
          "name": "https://github.com/miniflux/v2/releases/tag/2.0.43",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/miniflux/v2/releases/tag/2.0.43"
        },
        {
          "name": "https://miniflux.app/docs/configuration.html#metrics-collector",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://miniflux.app/docs/configuration.html#metrics-collector"
        }
      ],
      "source": {
        "advisory": "GHSA-3qjf-qh38-x73v",
        "discovery": "UNKNOWN"
      },
      "title": "Unauthenticated Miniflux user can bypass allowed networks check to obtain Prometheus metrics"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2023-27591",
    "datePublished": "2023-03-17T19:04:03.702Z",
    "dateReserved": "2023-03-04T01:03:53.635Z",
    "dateUpdated": "2025-02-25T14:53:48.603Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}