CVE-2020-7696: Credential leak in react-native-fast-image
Summary
CVE-2020-7696: Credential leak in react-native-fast-image. Affects react-native-fast-image versions < 8.3.0. Fixed in 8.3.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
React Native Fast Image is a library that provides a fast, efficient, and customizable way to load images in React Native applications. It allows developers to easily display images from local resources, network URLs, or base64 data. The library is widely used in mobile app development and offers various features for image loading and caching. However, versions before 8.3.0 of react-native-fast-image are vulnerable to a credential leak issue.
Vulnerability Detail
The vulnerability in react-native-fast-image arises when an image is loaded with the source attribute containing a URI and headers. In this scenario, if the headers include sensitive information such as authorization tokens or session credentials, all subsequent images loaded within the application will also use the same headers. This can lead to the leakage of signing credentials or other session tokens to unintended servers. The vulnerability has a CVSS score of 5.3, indicating a moderate severity level.
How To Fix
Latest published version: 10.8.7 as of 23 Oct 2026
npm install react-native-fast-image@10.8.7
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
8.3.0
This is the first release that contains the fix.
npm install react-native-fast-image@8.3.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to update to the fixed version of the package as soon as possible.
Conclusion
In conclusion, the vulnerability in react-native-fast-image can lead to the leakage of sensitive information due to the reuse of headers for subsequent image loads. It is crucial for developers to update to version 8.3.0 or above to mitigate this issue. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for react-native-fast-image →
FAQ
React Native Fast Image is a library for efficient image loading in React Native applications. It provides features like caching, resizing, and displaying images from various sources.
The vulnerability can result in the leakage of sensitive information, such as signing credentials or session tokens, to unintended servers.
To fix this vulnerability, update your react-native-fast-image package to version 8.3.0 or above.
No, there is no known workaround for this vulnerability. Updating to the fixed version is the recommended solution.
The vulnerability has a CVSS score of 5.3, indicating a moderate severity level.