CVE-2025-53373 Details
Description
Natours is a Tour Booking API. The attacker can easily take over any victim account by injecting an attacker-controlled server domain in the Host header when requesting the /forgetpassword endpoint. This vulnerability is fixed with commit 7401793a8d9ed0f0c250c4e0ee2815d685d7a70b.
A vulnerability in the Natours Tour Booking API allows an attacker to take over any user account by injecting a server-controlled domain into the Host header when accessing the /forgetpassword endpoint. This issue arises because the application constructs a password reset URL using the Host header, which can be manipulated by the attacker. The vulnerability is present in version 0.0.1 of the Natours API.
The vulnerability has been fixed by updating the password reset URL construction to use a secure, server-side environment variable that contains the domain, rather than the user-controlled Host header. This change has been implemented in the Natours GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 7, 2025CISA-ADP
Assessed Jul 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ahmed-elgaml11/Natours/commit/7401793a8d9ed0f0c250c4e0ee2815d685d7a70b | [email protected] | Source CodeVendor |
| https://github.com/ahmed-elgaml11/Natours/security/advisories/GHSA-8gmw-7p75-58qv | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-640 | Weak Password Recovery Mechanism for Forgotten Password | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ahmed-elgaml11 Natours | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2025 | New CVE Received | [email protected] |
Volerion