AploSec / Disclosures / CVE-2026-145159

Medium 5.3ReportedFixed in 3.19.0 (decap-cms-lib-auth 3.5.0)CWE-352npm

Decap CMS before 3.19.0 Login CSRF via OAuth Null State Nonce

CVE-2026-145159 · published 2026-12-04

In plain words: this type of bug lets another website perform actions as a logged-in user (cross-site request forgery, CSRF). A fixed release is listed.

Summary

CVE-2026-145159 affects Decap CMS (npm) < 3.19.0 (decap-cms-lib-auth < 3.5.0): Login CSRF via OAuth Null State Nonce (CWE-352). Fixed in 3.19.0 (decap-cms-lib-auth 3.5.0). CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Decap CMS before 3.19.0 contains a login cross-site request forgery vulnerability in validateNonce() that allows remote unauthenticated attackers to bypass the OAuth state check using a null nonce. Attackers can lure editors to an admin link with an attacker access token and null state nonce, causing saved content to be written using the attacker's Git provider identity.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade Decap CMS to 3.19.0 (decap-cms-lib-auth 3.5.0) or later. Releases in the affected range (< 3.19.0 (decap-cms-lib-auth < 3.5.0)) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-04 CVE published

References

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
Decap CMS
Ecosystem
npm
Affected
< 3.19.0 (decap-cms-lib-auth < 3.5.0)
Fixed
3.19.0 (decap-cms-lib-auth 3.5.0)
Weakness
CWE-352
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder