PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2020-24653: 
JavaScript vulnerability analysis and mitigation

Overview

The secure-store component in Expo through version 2.16.1 on iOS contains a security vulnerability where it incorrectly implements the security attribute for data storage. When developers specify the WHEN_UNLOCKED_THIS_DEVICE_ONLY policy, the system actually applies the less secure kSecAttrAccessibleAlwaysThisDeviceOnly policy instead (Expo PR, NVD).

Technical details

The vulnerability stems from an implementation error in the iOS secure storage functionality where the wrong security attribute is applied. When developers request the WHEN_UNLOCKED_THIS_DEVICE_ONLY policy, which should restrict data access to only when the device is unlocked, the system instead applies kSecAttrAccessibleAlwaysThisDeviceOnly, one of the least secure options. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

This vulnerability could allow unauthorized access to sensitive data stored using the secure-store component, as the data remains accessible even when the device is locked. This significantly reduces the security of stored information, potentially exposing sensitive application data to unauthorized access (Expo PR).

Exploitability

The vulnerability affects all versions of Expo through 2.16.1 when used on iOS devices. The issue specifically impacts applications that use the secure-store component with the WHEN_UNLOCKED_THIS_DEVICE_ONLY policy (NVD).

Mitigation and workarounds

Users should upgrade to a version of Expo newer than 2.16.1 which contains the fix for this vulnerability. The issue was addressed by correcting the security attribute to properly implement the WHEN_UNLOCKED_THIS_DEVICE_ONLY policy as intended (Expo PR, FortiGuard).

Additional resources


Source: This report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5cjr-rc2p-f66fHIGH8.8
  • JavaScript logoJavaScript
  • ssh-mcp
NoYesOct 23, 2026
GHSA-5www-2x9c-mgr6HIGH8.8
  • JavaScript logoJavaScript
  • @pineforge/codegen-pyodide
NoYesOct 23, 2026
CVE-2026-58497HIGH8.6
  • JavaScript logoJavaScript
  • @zenalexa/unicli
NoYesOct 23, 2026
CVE-2026-115477HIGH7.1
  • JavaScript logoJavaScript
  • obsidian-tc
NoYesOct 23, 2026
GHSA-2g9m-gh52-f39vHIGHN/A
  • JavaScript logoJavaScript
  • koa-static-resolver
NoYesOct 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management