The file names constructed within image_picker 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 an image file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.8.12+18. It is recommended to update to the latest version of image_picker_android that contains the changes to address this vulnerability.
https://github.com/flutter/packages/security/advisories/GHSA-98v2-f47x-89xw
Published: 2025-01-29
Updated: 2025-07-30
Base Score: 6.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:C
Severity: Medium
Base Score: 7.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Severity: High
Base Score: 2.1
Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:H/SA:H
Severity: Low
EPSS: 0.00021