CVE-2021-3944
PHP vulnerability analysis and mitigation

Overview

CVE-2021-3944 is a Cross-Site Request Forgery (CSRF) vulnerability affecting the BookStack application. The vulnerability was discovered and disclosed on November 10, 2021, as indicated by the CVE record creation date (CVE MITRE).

Technical details

The vulnerability exists in the email confirmation and user invite functionality of BookStack. The issue stems from an auto-login feature that could potentially be exploited by an attacker using the email confirmation routes. An attacker could forward an email confirmation to another user, causing them to unknowingly utilize an account controlled by the attacker (GitHub Commit).

Impact

If successfully exploited, this vulnerability could allow an attacker to trick users into using accounts they control, potentially leading to unauthorized access and account compromise. The vulnerability affects the authentication mechanism of the application, which could compromise the security of user accounts (CVE MITRE).

Mitigation and workarounds

The vulnerability has been patched by removing the automatic login functionality from email confirmation actions. Instead of automatically logging users in after email confirmation, they are now redirected to the login page where they must manually authenticate. The fix also includes changes to the user invite flow and updated success messages to reflect the new behavior (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-61676MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2025-61674MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2026-21896MEDIUM5.8
  • PHPPHP
  • getkirby/cms
NoYesJan 08, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management