CVE-2025-25925 Cross-site scripting in n/a
Attackers can execute arbitrary scripts in OpenMRS by injecting payloads into patient middle names, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-25925?
CVE-2025-25925 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Mar 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-25925?
It affects 1 product.
Products include Openmrs Openmrs.
How do I fix CVE-2025-25925?
No fix has been published for CVE-2025-25925 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-25925 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25925 exists.
Other vulnerabilities in n/a
- CVE-2018-19276 Deserialization in n/a
- CVE-2021-43094 SQL injection in n/a
- CVE-2017-12796 Deserialization in n/a
- CVE-2026-40076 OpenMRS Core arbitrary file write and code execution via Zip Slip in module upload
- CVE-2026-40075 OpenMRS Core arbitrary file read via path traversal in ModuleResourcesServlet
Sources
Also known as GHSA-5xpm-7q7v-rpvf.