Safety vulnerability ID: 71610
The information on this page was manually curated by our Cybersecurity Intelligence Team.
Affected versions of the langchain package are vulnerable to XML External Entity (XXE) Injection due to unrestricted XML entity expansion in the langchain_core.output_parsers.xml.XMLOutputParser component. The XMLOutputParser.parse, _transform, and _atransform implementations rely on xml.etree.ElementTree.fromstring and XMLPullParser without prohibiting entity expansion, allowing recursive entity references (Billion Laughs) to be processed.
Latest version: 0.3.78
Building applications with LLMs through composability
This vulnerability has no description
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application