Use After Free Affecting electron package, versions <27.3.5>=28.0.0 <28.2.6


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (19th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-6346758
  • published1 Mar 2024
  • disclosed5 Feb 2024
  • creditUnknown

Introduced: 5 Feb 2024

CVE-2024-25062  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade electron to version 27.3.5, 28.2.6 or higher.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Use After Free via the xmlTextReader module. An attacker can cause denial of service by processing crafted XML documents with DTD validation and XInclude expansion enabled.

CVSS Scores

version 3.1