Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MediumPublic exploit

Stored XSS in OpenEMR Eye Exam form answers

IdentifiersCVE-2026-33348CWE-79· Improper Neutralization of Input…

CVE-2026-33348 is a stored cross-site scripting vulnerability in OpenEMR versions prior to 8.0.0.3. The flaw affects the functionality that displays answers submitted through Eye Exam forms in patient encounters. Users with the Notes - my encounters role can fill these forms, and the submitted answers are later rendered on the encounter page and in visit history views. Due to insufficient neutralization of untrusted input before it is displayed, an authenticated attacker with that role can store malicious JavaScript payloads in form answers. When another user with the same role views the affected encounter page or visit history, the injected script executes in that user's browser context.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows execution of arbitrary JavaScript in the browser of a user viewing the malicious Eye Exam form answers. This can enable session hijacking, unauthorized actions performed in the victim's session, access to sensitive patient or application data visible to the victim, and modification of application content or workflow within the victim's privileges. The CVSS vector provided in the source indicates scope change with high confidentiality and integrity impact.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict access to the vulnerable Eye Exam form functionality and limit assignment of the Notes - my encounters role to only fully trusted users. Monitor Eye Exam form submissions and encounter history content for suspicious script payloads, and consider applying temporary output encoding or sanitization controls in the affected rendering path if operationally feasible. Because exploitation requires stored malicious content to be viewed, reducing exposure of the affected pages and reviewing existing stored form data may reduce risk until patching is completed.

Remediation

Patch, then assume compromise.

Upgrade OpenEMR to version 8.0.0.3 or later, which contains the vendor patch for this issue. The provided references indicate the fix is included in release v8_0_0_3 and associated with commit f488efbe3eb7f17d0f057f960020cb611149f8a2.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

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.

VendorProductType
Open-EmrOpenemrapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity6

Community discussion across Reddit, Mastodon, and other social sources.