Improper Input Validation Affecting @havesource/cordova-plugin-push package, versions <3.0.0-dev.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.59% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-HAVESOURCECORDOVAPLUGINPUSH-2437079
  • published31 Mar 2022
  • disclosed19 May 2018
  • creditJuho Nurminen of 2NS

Introduced: 19 May 2018

CVE-2018-4943  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade @havesource/cordova-plugin-push to version 3.0.0-dev.0 or higher.

Overview

@havesource/cordova-plugin-push is a plugin that offers support to receive and handle native push notifications with a single unified API.

Affected versions of this package are vulnerable to Improper Input Validation via an exploitable Same-Origin Method Execution vulnerability. Successful exploitation could lead to JavaScript code execution in the context of the PhoneGap application.

Note: version 3.0.0-dev.0 is marked as the fixed version, however, it was fixed in version 2.0.1

CVSS Scores

version 3.1