PT-2026-57920 · Hedgedoc · Hedgedoc

CVE-2026-58489

·

Published

2026-07-13

·

Updated

2026-07-14

CVSS v4.0

6.8

Medium

VectorAV:N/AC:H/AT:P/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions HedgeDoc versions prior to 1.11.0
Description The GitHub Gist export flow fails to properly validate the OAuth2 state value, checking only for its presence instead of verifying it against the user session. This allows an attacker to forge a callback URL with a valid GitHub OAuth code. If a logged-in user clicks this crafted link, the application uses the victim's session to select a note but the attacker's authorization code to determine the destination account. Consequently, private, protected, or limited notes can be exported directly into a Gist controlled by the attacker.
Recommendations Update to version 1.11.0.

Exploit

Fix

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-58489
GHSA-8V9P-5J95-826J

Affected Products

Hedgedoc