OpenEMR Flaws Expose Patient Search to SQL Injection and Eye Exam Forms to Stored XSS
OpenEMR disclosed two high-severity vulnerabilities affecting versions prior to 8.0.0.3, including an authenticated blind boolean-based SQL injection tracked as CVE-2026-29187 and a stored cross-site scripting flaw tracked as CVE-2026-33348. The SQL injection issue resides in the Patient Search component at /interface/new/new_search_popup.php and can be triggered by manipulating HTTP parameter keys rather than values, allowing a low-privileged authenticated attacker to target sensitive data and application integrity without user interaction.
The second flaw affects the Eye Exam form workflow, where a user with the Notes - my encounters role can inject malicious JavaScript into form answers such as $CHRONIC2 and $CHRONIC3. That payload is later executed when users with the same role view the encounter page or visit history, creating a stored XSS path inside the clinical workflow. Both issues were assigned on March 25, 2026, mapped to CWE-89 and CWE-79 respectively, and were patched in OpenEMR 8.0.0.3, with fixes published through the project release, commit history, and security advisory.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
3 events from the most recent confirmed update back to the earliest known activity.
CVE-2026-33348 and CVE-2026-29187 are publicly disclosed
Public advisories described two high-severity OpenEMR vulnerabilities: a stored cross-site scripting flaw exploitable by authenticated users with the 'Notes - my encounters' role, and an authenticated blind boolean-based SQL injection issue in Patient Search. Both disclosures referenced GitHub security advisories, fixes, and CVSS scoring.
OpenEMR 8.0.0.3 released with fixes for XSS and SQL injection flaws
OpenEMR version 8.0.0.3 was identified as the patched release for both vulnerabilities. The release and associated fixing commits addressed the stored XSS issue in encounter Eye Exam form handling and the blind SQL injection flaw in /interface/new/new_search_popup.php.
OpenEMR receives reports for two vulnerabilities
Security reports for CVE-2026-33348 and CVE-2026-29187 were received by security-advisories@github.com. The issues affected OpenEMR versions prior to 8.0.0.3 and involved stored XSS in Eye Exam forms and authenticated blind SQL injection in patient search functionality.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
CVE-2026-29187 - OpenEMR Vulnerable to Authenticated Blind Boolean-Based SQL Injection in new_search_popup.php
cvefeed.io
Open sourceCVE-2026-33348 - OpenEMR has Stored XSS in patient encounter Eye Exam form $CHRONIC2 and $CHRONIC3
cvefeed.io
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


