ADVISORIES

GitHub Advisory Database

GHSA-xwjh-cp99-cj8q

Path Traversal in cordova-plugin-ionic-webview

Details

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

Affected packages

EcosystemPackageAffected versions
npmcordova-plugin-ionic-webview
All versions before 2.2.0 (fixed in 2.2.0)

References