Raw vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-30161 is a high-severity Basic XSS (CWE-80) vulnerability in Open-Emr Openemr. Its CVSS base score is 8.4 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Input Capture (T1056); ranked in the top 4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
OpenEMR is a free and open source electronic health records and medical practice management application. CVE-2025-30161 is a stored cross-site scripting vulnerability (CWE-80) in the Bronchitis form component that permits an authenticated user with form-editing rights to inject persistent scripts. The flaw resides in the view.php handling of bronchitis form data and carries a CVSS 4.0 score of 8.4.
An attacker able to edit a bronchitis form can store malicious JavaScript that executes in the browser of any administrator who later views the record, enabling theft of administrator credentials and subsequent account takeover. No special network position or user interaction beyond normal form viewing is required once the payload is persisted.
The vulnerability is fixed in OpenEMR 7.0.3, as stated in the project’s GitHub Security Advisory GHSA-59rv-645x-rg6p and the corresponding code changes that neutralize the unsanitized output.
The EPSS probability rose from a low baseline to a peak of 0.1372 on 2026-05-12 before receding to the current value of 0.0688, indicating that exploitation interest emerged after public disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-8840
Vulnerability Data
OpenEMR is a free and open source electronic health records and medical practice management application. A stored XSS vulnerability in the Bronchitis form component of OpenEMR allows anyone who is able to edit a bronchitis form to steal credentials from…
more
administrators. This vulnerability is fixed in 7.0.3.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.2.1V1.3.1V1.3.3V1.3.4
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover missing or incorrect neutralization of script tags through targeted XSS test cases.
Input validation explicitly requires checking and neutralizing untrusted web inputs containing script-related characters before they reach a downstream renderer.
Secure engineering principles include mandatory output encoding and neutralization of HTML metacharacters to stop injection at the source.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require output encoding and input validation that prevent basic XSS.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development catches unneutralized script tags before release.
A.5.19 operates at the supplier-relationship governance level (policies, evaluation, monitoring compliance, termination procedures) and has no source, runtime, or technical-disclosure reach into code; it does not discover XSS instances in deployed applications.
Training helps some developers learn proper output encoding for script-related tags, but the effect is a minority one: training is fallible, not all developers receive adequate depth on encoding specifics, and A.6.3 is broader awareness rather than the secure-coding practice A.8.28 mandates, so the bulk of XSS instances still arise.
Secure coding standards require proper escaping of <, >, & to block XSS.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; XSS is a regular software CWE that secure coding (8.28) and security testing (8.29) reach at `partial`, and A.8.30 inherits that ceiling.
A.8.8's reach is disclosure-based (published advisories, component inventory, vulnerability scanning); it finds XSS where the instance carries a CVE in a tracked third-party component or surfaces through its named penetration-testing route, but most XSS lives in first-party custom code that A.8.8 does not read — the same scope seam that graded A.8.8 finds CWE-89 = partial.