Undesired Behavior Affecting event-source-polyfill package, versions >=1.0.26 <1.0.29


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Mature

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 ID SNYK-JS-EVENTSOURCEPOLYFILL-2429580
  • published 18 Mar 2022
  • disclosed 18 Mar 2022
  • credit Gunnar Søndergård

Introduced: 18 Mar 2022

CVE NOT AVAILABLE CWE-758 Open this link in a new tab
First added by Snyk

How to fix?

Upgrade event-source-polyfill to version 1.0.29 or higher.

Overview

event-source-polyfill is an A polyfill for http://www.w3.org/TR/eventsource/

Affected versions of this package are vulnerable to Undesired Behavior. This package geo-locates users based on their IP address and if the user is Russia-based prints a political protest message in the browser 15 seconds after the package is loaded. The package then tries to redirect the browser into another website via the windows.call command.

Note: This issue affects versions starting with 1.0.26, previous versions other than 1.0.26 are not affected.