OpenEMR
cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*
- < 7.0.3
A reflected cross-site scripting vulnerability has been identified in OpenEMR versions prior to 7.0.3. The issue resides in the AJAX Script interface, specifically within the 'layout_listitems_ajax.php' file. The vulnerability is triggered by the 'target' parameter, which lacks proper input sanitization, allowing for the execution of malicious scripts in the user's browser.
Exploitation of this vulnerability allows for reflected cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser session.
To reproduce this vulnerability, send a GET request to 'interface/super/layout_listitems_ajax.php' with the 'target' parameter containing a crafted link, such as one using 'javascript:alert(document.cookie)'. This will trigger the XSS by executing the JavaScript in the user's browser.
Users can update to OpenEMR version 7.0.3 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.