ionic-team/cordova-plugin-ionic-webview · Security

Path Traversal in cordova-plugin-ionic-webview

GHSA ID
GHSA-xwjh-cp99-cj8q
CVE ID
CVE-2018-16202
Severity
high
Published
Updated
CVSS
8.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS v3
8.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Description

Versions of cordova-plugin-ionic-webview prior to 2.2.0 are vulnerable to Path Traversal, allowing attackers access to OS local files that should be inaccessible by third-party applications. The package launches a webserver listening on http://localhost:8080 without restricting access of the app itself, thus escaping the iOS application sandbox and accessing local files.

Recommendation

Upgrade to version 2.2.0

CWEs

References