{"id":"GHSA-h86q-fx34-gfjr","revision":"67e677f5e1424fa19a673e70e96b38ea","records":[{"revision":"67e677f5e1424fa19a673e70e96b38ea","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-h86q-fx34-gfjr","aliases":["CVE-2026-54303"],"title":"n8n: Reflected XSS via Facebook, WhatsApp, and Microsoft Teams Trigger Webhook Verification Endpoints","description":"## Impact\nAn endpoint in the Meta and Microsoft Teams trigger nodes reflects a query parameter into the HTTP response without sanitization or Content-Security-Policy headers, enabling reflected XSS in the n8n origin when a logged-in user visits a crafted URL.\n\n## Patches\nThe issue has been fixed in n8n version 2.24.0. Users should upgrade to this version or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Limit workflow creation and activation permissions to fully trusted users only.\n- Disable the affected nodes by adding `n8n-nodes-base.facebookTrigger`, `n8n-nodes-base.whatsAppTrigger`, `n8n-nodes-base.facebookLeadAdsTrigger`, and `n8n-nodes-base.microsoftTeamsTrigger` to the `NODES_EXCLUDE` environment variable.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","state":0,"publishedAt":"2026-06-16T22:39:16+00:00","modifiedAt":"2026-07-20T13:45:32.2061235+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.24.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-h86q-fx34-gfjr","https://nvd.nist.gov/vuln/detail/CVE-2026-54303","https://github.com/n8n-io/n8n"],"sourceUrl":"https://github.com/advisories/GHSA-h86q-fx34-gfjr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h86q-fx34-gfjr","identifiers":["GHSA-h86q-fx34-gfjr","CVE-2026-54303"]},"retained":false,"historicalAffected":[]}],"coverage":[]}