microsoft-graph-webhooks
Warn
Audited by Snyk on Jul 24, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.70). Outsider free text is ingested from runtime HTTP requests to the webhook endpoint—specifically the
validationTokenquery parameter and the JSONreq.body.value[*]notification fields—which are not authored by the operating user and can contain arbitrary attacker-controlled strings that the code places directly into the response path (and could be logged/processed), e.g.validationTokenfromrequest.nextUrl.searchParams.get(...)/req.query.validationTokenrather than any vetted local source.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata