CVE-2022-1181: OpenEMR - Stored XSS
- Cve: CVE-2022-1181
- Name: OpenEMR - Stored XSS
- Description: Stored Cross Site Scripting in GitHub repository openemr/openemr prior to 6.0.0.2.
- Impact: Attackers can execute malicious scripts in other users' browsers, leading to session hijacking, data theft, or defacement.
- Remediation: Update to version 6.0.0.2 or later with proper input sanitization.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to store malicious scripts in the application
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.51472
- Epss percentile: 0.98959
- Assignee: [email protected]
- Published at: 2022-03-30T12:15:08Z
- Age in days: 1700
- Modified at: 2026-06-17T04:21:57Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1181
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, 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://huntr.dev/bounties/2534e0fb-f503-4a4b-aed1-ec448c98bf60 | nvd | 2022-03-30 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/openemr/openemr/commit/2835cc397610fc28037302dad948c38fda032022 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/2534e0fb-f503-4a4b-aed1-ec448c98bf60 | nvd | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | < 6.0.0.2 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | commit, fix | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-30
- Remote: yes
- Authentication required: yes
- Exposed hosts: 2328
- 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