Berildocs GitHub

Memory cards

Password reset trusts the request host

confidence: highupdated: 2026-11-24status: activewebhost-headeremail

Claim#

The reset link is built from Host, X-Forwarded-Host or Forwarded without an allowlist.

Test#

Request a reset with each header set to a controlled domain. Check the email and exchange the token.

Proof#

A reset link on the attacker host with a valid token.

Failure modes#

A reflected host in the page is not the same as a host used in email. Proxies normalize.