typed-rest-client is a library for Node Rest and Http Clients with typings for use with TypeScript. Users of…
Historical advisory recorded 24 Oct 2026 22:17:10 UTC. Read the latest advisory.
nvd · CVE-2023-30846
Publishedtyped-rest-client is a library for Node Rest and Http Clients with typings for use with TypeScript. Users of the typed-rest-client library version 1.7.3 or lower are vulnerable to leak authentication data to 3rd parties. The flow of the vulnerability is as follows: First, send any request with `BasicCredentialHandler`, `BearerCredentialHandler` or `PersonalAccessTokenCredentialHandler`. Second, the target host may return a redirection (3xx), with a link to a second host. Third, the next request will use the credentials to authenticate with the second host, by setting the `Authorization` header. The expected behavior is that the next request will *NOT* set the `Authorization` header. The problem was fixed in version 1.8.0. There are no known workarounds.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2023-30846
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-522
Original publisher date fields
published: 2023-04-26T21:15:09.380
lastModified: 2026-06-17T05:55:45.680
1 source CPE criteria · context only
- cpe:2.3:a:microsoft:typed-rest-client:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON