WS-2026-0006
Published:April 21, 2026
Updated:April 24, 2026
Prototype Pollution in XML Webhook Body Parser Leads to RCE
A flaw in the xml2js library used to parse XML request bodies in n8n's webhook handler allowed prototype pollution via a crafted XML payload. An authenticated user with permission to create or modify workflows could exploit this to pollute the JavaScript object prototype and, by chaining the pollution with the Git node's SSH operations, achieve remote code execution on the n8n host.
Affected Packages
n8n (NPM):
Affected version(s) =2.18.0 <2.18.1Fix Suggestion:
Update to version 2.18.1n8n (NPM):
Affected version(s) >=2.0.0-rc.0 <2.17.4Fix Suggestion:
Update to version 2.17.4n8n (NPM):
Affected version(s) >=0.0.1 <1.123.32Fix Suggestion:
Update to version 1.123.32Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH