MEDIUM · CVSS 3.1 6.5 EPSS 0.5% · 35th percentile CWE-918

CVE-2026-71425: Outstatic: Authenticated GitHub REST proxy can send OAuth token to non-GitHub origins

Published 2026-11-18 · Updated 2026-11-18 · Also known as GHSA-7jvc-9xq8-frff

Summary

Outstatic contains a server-side request forgery vulnerability that allows authenticated dashboard users to redirect GitHub OAuth tokens to external, non-GitHub hosts. Users running versions prior to 2.2.1 should upgrade immediately to prevent unauthorized token exposure.

Who is affected

The vulnerability affects instances where an authenticated user interacts with the Outstatic GitHub REST proxy. An attacker with dashboard access can manipulate the endpoint parameter to exfiltrate the user's GitHub OAuth token to a malicious destination, potentially granting the attacker access to the user's private GitHub repositories.

Exploitability

The vulnerability carries a CVSS 3.1 base score of 6.5, categorized as medium severity. It requires an authenticated user with network access to the target dashboard, and there is currently no evidence of active exploitation via the CISA KEV catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm outstatic >= 0, < 2.2.1 2.2.1 npm install [email protected]

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack vectorNetwork
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

FAQ

Can an unauthenticated attacker exploit this?

No, the vulnerability requires the attacker to be an authenticated user with access to the Outstatic dashboard.

Does this allow access to other users' GitHub tokens?

The description states it does not directly expose another user’s GitHub token without an additional same-origin execution or request-forging primitive.

What is the primary technical cause of the issue?

The flaw is caused by insufficient validation of an endpoint parameter, which allowed for unauthorized URL construction via string concatenation while appending sensitive OAuth tokens.

Original advisory description
### Impact Outstatic’s authenticated GitHub REST proxy accepted an unvalidated endpoint parameter and constructed an upstream GitHub API URL by string concatenation while attaching the authenticated user’s GitHub OAuth token. A user with access to the Outstatic dashboard could craft a request that caused the server to send their own GitHub OAuth token to a non-GitHub host. If that token was captured, it could be used to access GitHub resources available to that same user, including private repositories depending on granted scopes. This does not allow unauthenticated attackers to access private repository data, and it does not directly expose another user’s GitHub token without an additional same-origin execution or request-forging primitive. ### Patches The issue has been patched by validating that proxied requests resolve to the exact https://api.github.com/ origin and by restricting forwarded request headers. Users should upgrade to v2.2.1 or later. ### Workarounds If upgrading immediately is not possible, restrict access to /api/outstatic/github to trusted dashboard users only, or temporarily disable the endpoint if it is not needed. As a temporary code-level mitigation, reject body-provided endpoint values that do not begin with /, verify the parsed URL origin is exactly https://api.github.com/, and block forwarding of sensitive headers such as Authorization, Host, and User-Agent. Users who suspect their token was exposed should revoke the affected GitHub OAuth authorization and sign in again.

References

Source records: GHSA-7jvc-9xq8-frff (OSV.dev) · EPSS by FIRST, 2026-11-26.