Cross-site Scripting (XSS) Affecting babel package, versions <0:2.5.1-9.module+el8.1.0+3111+de3f2d8e


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.21% (59th 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 Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-BABEL-2103313
  • published26 Jul 2021
  • disclosed18 Oct 2020

Introduced: 18 Oct 2020

CVE-2020-27783  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Centos:8 babel to version 0:2.5.1-9.module+el8.1.0+3111+de3f2d8e or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream babel package and not the babel package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code.

CVSS Scores

version 3.1