CVE-2026-45013: Apostrophe has a Weak Password Recovery Mechanism for Forgotten Password and Improper Input Validation
(updated )
ApostropheCMS’s password reset flow constructs the reset URL using req.hostname,
which is derived directly from the attacker-controlled HTTP Host header when
apos.baseUrl is not explicitly configured. An unauthenticated attacker who knows
a victim’s email address can send a crafted reset request that causes the application
to email the victim a reset link pointing to the attacker’s domain. When the victim
clicks the link, the valid reset token is delivered to the attacker, enabling full
account takeover.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-45013 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →