{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.5.1"
              },
              {
                "fixed": "0.5.1\\+12"
              }
            ]
          },
          "events": [
            {
              "introduced": "53ed5a0aa9e4130de3a54303849a7d138064ffca"
            },
            {
              "fixed": "f7667a655bc603fa996c9b4a4c8f7f525d52eef7"
            }
          ],
          "repo": "https://github.com/flutter/packages",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r465-vhm9-7r5h"
  ],
  "details": "The file names constructed within file_selector are missing sanitization checks leaving them vulnerable to malicious document providers. This may result in cases where a user with a malicious document provider installed can select a document file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.5.1+12. It is recommended to update to the latest version of file_selector_android that contains the changes to address this vulnerability.",
  "id": "CVE-2024-54461",
  "modified": "2026-03-10T21:50:44.309593093Z",
  "published": "2025-01-29T12:15:28.437Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/flutter/packages/security/advisories/GHSA-r465-vhm9-7r5h"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}