This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.
A successful attack has high impact: reading confidential data.
Weakness type: XML external entity (XXE).
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML External Entity (XXE) attacks due to unsafe XSLT parsing. This vulnerability arises because the class allows the use of arbitrary XSLT stylesheets, which are parsed using lxml.etree.parse() and lxml.etree.XSLT() without any hardening measures. In lxml versions up to 4.9.x, external entities are resolved by default, allowing attackers to read arbitrary local files or perform outbound HTTP(S) fetches. In lxml versions 5.0 and above, while entity expansion is disabled, the XSLT document() function can still read any URI unless XSLTAccessControl is applied. This vulnerability allows remote attackers to gain read-only access to any file the LangChain process can reach, including sensitive files such as SSH keys, environment files, source code, or cloud metadata. No authentication, special privileges, or user interaction are required, and the issue is exploitable in default deployments that enable custom XSLT.
Axios 1.7.6 before 1.21.0 contains a prototype pollution gadget in the fetch adapter signal cleanup in lib/helpers/composeSignals.js that allows attackers to crash Node.js processes. Attackers who pollute…
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Restriction of XML External Entity Reference vulnerability. A low privileged local attacker could potentially exploit…
XML external entity injection (XXE) in the parser for requests to a REST interface. During testing with an authenticated session, the server resolved an external entity and made an HTTP request to an external resource.…
A flaw has been found in agent0ai agent-zero up to 2.16. Affected by this vulnerability is the function InfectionChecker.gate of the file plugins/_infection_check/helpers/checker.py. Executing a manipulation can lead…
A security flaw has been discovered in Aider-AI Aider up to 0.86.2. The impacted element is the function confirm_ask of the file aider/io.py of the component Shell Command Confirmation Handler. The manipulation results…
A security vulnerability has been detected in dailydotdev daily up to d8fc89d978eb4a454992349adafa283700c52e31. This affects the function render of the file statusline/statusline.mjs of the component Statusline…