Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. apostrophe
  4. ›
  5. CVE-2026-45013

CVE-2026-45013: Apostrophe has a Weak Password Recovery Mechanism for Forgotten Password and Improper Input Validation

May 14, 2026 (updated June 12, 2026)

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

  • github.com/advisories/GHSA-gf43-24g3-5hw2
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-gf43-24g3-5hw2
  • nvd.nist.gov/vuln/detail/CVE-2026-45013

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 →

Affected versions

All versions up to 4.29.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Source file

npm/apostrophe/CVE-2026-45013.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:50 +0000.