CVE-2013-4620: XSS in OpenEMR 4.1.1 office_comments_full.php
- Vendor
- Openemr
A cross-site scripting (XSS) vulnerability exists in OpenEMR 4.1.1, specifically in the interface/main/onotes/office_comments_full.php file. The vulnerability allows remote attackers to inject arbitrary web script or HTML via the 'note' parameter, which is not properly sanitized before being rendered in the application.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the user's browser session. This can lead to session hijacking, credential theft, or other malicious actions performed on behalf of the victim user within the OpenEMR application.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the affected PHP file to trusted users only. Employ web application firewalls (WAF) with XSS filtering capabilities, and ensure that user-supplied input is properly sanitized and output is encoded in all custom deployments.
Remediation
Patch, then assume compromise.
Upgrade to a version of OpenEMR in which the 'note' parameter is properly sanitized and output is correctly encoded to prevent XSS. Review and apply any security patches provided by the OpenEMR project addressing this issue.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2013-4620 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2013-4620 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2013-4620?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2013-4620. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2013-4620?
- Upgrade to a version of OpenEMR in which the 'note' parameter is properly sanitized and output is correctly encoded to prevent XSS. Review and apply any security patches provided by the OpenEMR project addressing this issue.
- What products are affected by CVE-2013-4620?
- Openemr.
- How severe is CVE-2013-4620?
- CVE-2013-4620 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 3.3% (89th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.