@notionhq/client is vulnerable to Directory Traversal
70
High Risk
Affected versions of this package fail to properly validate path parameters (such as block_id, page_id, or database_id), allowing path traversal sequences like .. and URL-encoded variants (%2e%2e, mixed-case, or fully encoded paths) to be processed, which could alter the resolved API endpoint. An attacker could exploit this vulnerability by crafting malicious requests with encoded traversal payloads in path parameters to access unintended routes, bypass authorization checks, or interact with internal endpoints that should not be exposed.
You are affected if you are using a version that falls within the vulnerable range.
@notionhq/client is vulnerable to Directory Traversal in versions 3.1.0 - 5.8.0.
Upgrade the @notionhq/client library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant