OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-66225
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:53 UTC · Revision 1
Source evidence
OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow
core-osv · Original sourcePublished 29 Nov 2025, 03:05 UTC
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.
osv:CVE-2025-66225
Complete source record
{
"id": "ed00cb9c4e5729db130a3825cfef2ccc3398e4dc83eec3fee8f81e96181c6fab",
"url": "https://osv.dev/vulnerability/CVE-2025-66225",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow",
"summary": "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.",
"evidence": "osv:CVE-2025-66225",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-66225",
"aliases": [
"CVE-2025-66225",
"GHSA-5ghw-9775-v263"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/orangehrm/orangehrm",
"type": "GIT",
"events": [
{
"introduced": "7bd109532b98fbf2896627b86099cc82afe215fb"
},
{
"fixed": "d3815c0d746f1484d76e3d59d25ae55f48edd9fa"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.0"
},
{
"fixed": "5.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:orangehrm:orangehrm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0"
},
{
"fixed": "5.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.7",
"v5.6.1",
"v5.6",
"v5.5",
"v5.4",
"v5.3",
"v5.2",
"v5.1",
"v.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66225.json"
}
}
],
"modified": "2026-10-28T02:30:36.800688921Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66225.json",
"https://github.com/orangehrm/orangehrm/security/advisories/GHSA-5ghw-9775-v263",
"https://nvd.nist.gov/vuln/detail/CVE-2025-66225"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20",
"CWE-345"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66225.json"
}
},
"related_cves": [
{
"value": "CVE-2025-66225",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504330,
"published_at": "2025-11-29T03:05:46.498+00:00"
}