CVE-2025-52898 Frappe account takeover via password reset token leakage

High 8.7 Published Updated

Attackers can steal password reset tokens on specific self-hosted Frappe configurations, leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-52898?

CVE-2025-52898 is a high-severity vulnerability in frappe, published on 30 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Frappe is a full-stack web application framework. Prior to versions 14.94.3 and 15.58.0, a carefully crafted request could lead to a malicious actor getting access to a user's password reset token. This can only be exploited on self hosted instances configured in a certain way. Frappe Cloud users are safe. This issue has been patched in versions 14.94.3 and 15.58.0. Workarounds for this issue involve verifying password reset URLs before clicking on them or upgrading for self hosted users.

Weakness: CWE-200

Which versions are affected by CVE-2025-52898?

It affects 1 product.

Products include Frappe Frappe.

How do I fix CVE-2025-52898?

No fix has been published for CVE-2025-52898 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-52898 being exploited?

There is no known exploitation of CVE-2025-52898 in the wild and no public exploit code.

Sources

Also known as GHSA-p284-r7rh-wq7j.

Is CVE-2025-52898 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free