Read the docs

Login CSRF in Decap CMS lets attackers bypass OAuth state check

Priority LOW 21CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Tampering
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-352.

Summary

Decap CMS before 3.19.0, decap-cms-app before 3.19.0 and decap-cms-lib-auth before 3.5.0 contain a login cross-site request forgery flaw (CWE-352) in validateNonce(). The function accepts a null nonce, which bypasses the OAuth state check. A remote unauthenticated attacker can lure an editor to an admin link carrying the attacker's access token, so saved content is written under the attacker's Git provider identity.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed Decap CMS (decaporg): 3.19.0decap-cms-app (decaporg): 3.19.0+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
decaporgDecap CMSbefore 3.19.03.19.0Patch availableCNA
decaporgdecap-cms-appbefore 3.19.03.19.0Patch availableCNA
decaporgdecap-cms-lib-authbefore 3.5.03.5.0Patch availableCNA
  • Decap CMS Vendordecaporg Affected before 3.19.0 Fixed in 3.19.0 Patch available CNA
  • decap-cms-app Vendordecaporg Affected before 3.19.0 Fixed in 3.19.0 Patch available CNA
  • decap-cms-lib-auth Vendordecaporg Affected before 3.5.0 Fixed in 3.5.0 Patch available CNA

Remediation

Upgrade Decap CMS and decap-cms-app to 3.19.0 and decap-cms-lib-auth to 3.5.0.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA Decap CMS (decaporg) Fixed in 3.19.0
  • Fix · CNA decap-cms-app (decaporg) Fixed in 3.19.0
  • Fix · CNA decap-cms-lib-auth (decaporg) Fixed in 3.5.0

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-145159
  2. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-62551 Decap CMS < 3.11.0 Path Traversal via Sibling Directory Prefix Matching CVSS 4.0CRITICAL 9.3

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences