CVE-2026-145159: Decap CMS Cross-Site Request Forgery
Published 2026-12-04 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update Decap CMS to 3.19.0 or later on your normal schedule.
What to do
- Update Decap CMS to version 3.19.0 or later. Versions before 3.19.0 are affected.
- Until it is patched, do not leave Decap CMS reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Set session cookies to SameSite=Lax or Strict, and ask administrators to log out of the affected application when not using it.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Decap CMS | < 3.19.0 | 3.19.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality and integrity are rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness: Cross-Site Request Forgery
An attacker's web page can make a logged-in user's browser perform actions on the affected site without their knowledge.
Classified as CWE-352.
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/decaporg/decap-cms/commit/c4269e23a5189d9bca7a5fba31815bc297acab16
- Patchhttps://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.19.0
- Advisoryhttps://github.com/decaporg/decap-cms/security/advisories/GHSA-h6vp-4qr8-gvh5
- Advisoryhttps://www.vulncheck.com/advisories/decap-cms-before-3.19.0-login-csrf-via-oauth-null-state-nonce
- Referencehttps://github.com/decaporg/decap-cms/blob/decap-cms%403.18.0/packages/decap-cms-lib-auth/src/implicit-oauth.js#L45-L69
- Referencehttps://github.com/decaporg/decap-cms/blob/decap-cms%403.18.0/packages/decap-cms-lib-auth/src/utils.js#L7-L12