# CVE-2025-66225: OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-20, CWE-345
- **Published:** 2025-11-29T03:05:46.498Z
- **Modified:** 2026-10-18T18:10:00.100Z

## Who should check

- Anyone running orangehrm \>= 5.0, \< 5.8

## Description

OrangeHRM is a comprehensive human resource management (HRM) system. From version 5.0 to 5.7, the password reset workflow does not enforce that the username submitted in the final reset request matches the account for which the reset process was originally initiated. After obtaining a valid reset link for any account they can receive email for, an attacker can alter the username parameter in the final reset request to target a different user. Because the system accepts the supplied username without verification, the attacker can set a new password for any chosen account, including privileged accounts, resulting in full account takeover. This issue has been patched in version 5.8.

## Affected and fixed versions

- orangehrm: \>= 5.0, \< 5.8 (cvelist)

## Mitigation

- Upgrade orangehrm to 5.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-66225. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-66225.md
Affected: orangehrm >= 5.0, < 5.8
Fixed in: orangehrm 5.8

Steps:
1. Search this machine and project for orangehrm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-66225 being exploited?

There is no confirmed exploitation: CVE-2025-66225 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-66225?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-66225?

orangehrm \>= 5.0, \< 5.8.

### Is there a fix for CVE-2025-66225?

Yes. Fixed in orangehrm 5.8. Upgrade orangehrm to 5.8 or later.

### How do I check if I'm affected by CVE-2025-66225?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/orangehrm/orangehrm/security/advisories/GHSA-5ghw-9775-v263>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-66225>

HTML: <https://flawdb.com/CVE-2025-66225> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-66225>
