CVE-2023-28131: Expo Expo SDK Has An OAuth Vulnerability
CRITICALCVE-2023-28131 is a CRITICAL (CVSS 9.6) expo sdk has an oauth vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Expo libraries in the npm ecosystem. The issue involves expo sdk has an oauth vulnerability. Remediation is available by upgrading affected packages to version 48.0.0.
CVE-2023-28131 at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2023-28131
To remediate this vulnerability, upgrade all affected Expo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install expo@48.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls expo
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-28131, inspect your project dependencies using npm:
npm ls expo
Analyze the terminal output to locate any version of Expo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 48.0.0), your application is affected.
Note: The npm ls expo command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Expo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-28131 Affected Expo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
expo
|
npm |
< 48.0.0
|
48.0.0
|
References
Frequently Asked Questions
What is CVE-2023-28131?
Which Expo versions are affected?
What version fixes CVE-2023-28131?
Is expo affected?
What is the CVSS score of CVE-2023-28131?
What CWE is associated with CVE-2023-28131?
How can I check npm dependencies for CVE-2023-28131?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wr5g-q49g-548w",
"modified" : "2025-10-15T18:55:34Z",
"published" : "2023-04-24T06:31:20Z",
"aliases" : [ "CVE-2023-28131" ],
"summary" : "Expo SDK has an OAuth vulnerability",
"details" : "A vulnerability in the expo.io framework allows an attacker to take over accounts and steal credentials on an application/website that configured the \"Expo AuthSession Redirect Proxy\" for social sign-in. This can be achieved once a victim clicks a malicious link. The link itself may be sent to the victim in various ways (including email, text message, an attacker-controlled website, etc).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "expo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "48.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-28131"
}, {
"type" : "WEB",
"url" : "https://blog.expo.dev/security-advisory-for-developers-using-authsessions-useproxy-options-and-auth-expo-io-e470fe9346df"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/expo/expo"
}, {
"type" : "WEB",
"url" : "https://www.darkreading.com/endpoint/oauth-flaw-in-expo-platform-affects-hundreds-of-third-party-sites-apps"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-522" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-15T18:55:34Z",
"nvd_published_at" : "2023-04-24T05:15:08Z"
}
}