CVE-2020-7696: Credential leak in react-native-fast-image

react-native-fast-image Updated 02 Oct 2025

Summary

18/05/2021
Yes i
Moderate
5.3

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback