Vulnerabilities

1 via 1 paths

Dependencies

111

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

medium severity
new

XML Injection

  • Vulnerable module: xml2js
  • Introduced through: @homebridge/dbus-native@0.7.9

Detailed paths

  • Introduced through: teams-for-linux@IsmaelMartinez/teams-for-linux › @homebridge/dbus-native@0.7.9 › xml2js@0.6.2

Overview

Affected versions of this package are vulnerable to XML Injection in the escapeCDATA function in lib/builder.js. An attacker can inject arbitrary XML elements and attributes into the generated document by supplying a value, serialized with the cdata option, that contains two or more ]]> sequences, since only the first is escaped and any later one prematurely closes the CDATA section ahead of attacker-controlled content. This requires the application to enable the non-default cdata: true builder option.

Remediation

There is no fixed version for xml2js.

References