CVE-2025-25925: Openmrs - Stored XSS
- Cve: CVE-2025-25925
- Name: Openmrs - Stored XSS
- Description: A stored cross-scripting (XSS) vulnerability in Openmrs v2.4.3 Build 0ff0ed allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the personName.middleName parameter at /openmrs/admin/patients/shortPatientForm.form.
- Impact: Attackers can execute arbitrary scripts in the context of the affected web application, leading to session hijacking or defacement.
- Remediation: Sanitize and validate input on the server side, and update to the latest version of Openmrs.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to inject payload into the parameter
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00341
- Epss percentile: 0.28088
- Assignee: [email protected]
- Published at: 2025-03-11T20:15:16Z
- Age in days: 623
- Modified at: 2026-07-05T01:21:37Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-25925
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/johnchd/CVEs/blob/main/OpenMRS/CVE-2025-25925%20-%20P-XSS.md | nvd | 2025-03-11 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/johnchd/CVEs/blob/main/OpenMRS/CVE-2025-25925%20-%20P-XSS.md | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openmrs:openmrs | = 2.4.3 build0ff0ed | no | nvd | /v1/products/openmrs/openmrs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-03-11
- Remote: yes
- Authentication required: yes
- Exposed hosts: 349
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports