Skip to content
Medium 5.3

Incomplete fix for GHSA-fp2g-2283-rwvj: CSRF token is not session-bound and the verifier falls back to the non-prefixed cookie

GHSA-969g-q5r9-f9pr First seen on SecPulse

Summary

Affected outline at commit 374f5ad4035e39903db1d968d3be9c7ed8adca2c (main, 2026-08-10)

Version note. package.json reads 1.9.1 at this commit, but the commit is ahead of the
v1.9.1 release tag and the trees differ. Please reproduce against the SHA.

Why this is filed separ...

Affected packages

PackageAffected → Fixed
otherOutline
< 1.10.0→ 1.10.0
Original description The description as published by the source.

Affected outline at commit 374f5ad4035e39903db1d968d3be9c7ed8adca2c (main, 2026-08-10)

Version note. package.json reads 1.9.1 at this commit, but the commit is ahead of the
v1.9.1 release tag and the trees differ. Please reproduce against the SHA.

Why this is filed separately

GHSA-fp2g-2283-rwvj, "Cross-site request forgery via sibling domains", High, patched in v0.87.0,
states:

This issue was discovered during a routine security audit and patched in v0.87.0 through the use of
a double-submit CSRF token approach on all mutating requests made with cookie authentication.

and names the threat model explicitly:

This attack vector relies on a malicious payload hosted on e.g. a.example.com while Outline is
deployed at b.example.com

We believe that fix is incomplete against exactly that attacker. This is filed as a follow-up to the
existing advisory rather than as a new discovery, because the sibling-domain adversary is already
yours and already accepted.

The two gaps

1. The token carries no session binding

server/utils/csrf.ts. The token is sixteen random bytes plus an HMAC over those bytes under the
instance-wide SECRET_KEY:

export const bundleToken = (token: Buffer, secret: string): string => {
  const sig = signToken(token, secret);
  return `${token.toString("hex")}.${sig}`;
};

Verification checks each half's signature and compares them
(server/middlewares/csrf.ts:100-112):

const { valid: cooki…

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details