XML External Entity (XXE) Injection Affecting jstoxml package, versions <2.0.0


Severity

Recommended
0.0
high
0
10

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

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 XML External Entity (XXE) Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-JSTOXML-1017039
  • published26 Oct 2020
  • disclosed11 Oct 2020
  • creditwetneb

Introduced: 11 Oct 2020

CVE NOT AVAILABLE CWE-611  (opens in a new tab)

How to fix?

Upgrade jstoxml to version 2.0.0 or higher.

Overview

jstoxml is a Converts JavaScript/JSON to XML (for RSS, Podcasts, AMP, etc.)

Affected versions of this package are vulnerable to XML External Entity (XXE) Injection due to not escaping special characters.

CVSS Scores

version 3.1