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

Stored XSS in Imaster Patient Record Management System edit_patient.php (firstname)

IdentifiersCVE-2025-41003CWE-79· Improper Neutralization of Input…

Imaster's Patient Record Management System is vulnerable to stored cross-site scripting (XSS) in the administrative endpoint /projects/hospital/admin/edit_patient.php. An attacker can inject malicious JavaScript into the firstname parameter such that the payload is stored server-side and subsequently rendered without proper output encoding. The stored script executes in a victim’s browser whenever the patient list is viewed, enabling arbitrary JavaScript execution in the context of the application.

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.

Arbitrary JavaScript execution in the victim user’s browser when accessing the patient list, which can enable session hijacking, credential theft, UI redress, and performing unauthorized actions as the victim within the application context.

Mitigation

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

Restrict access to /projects/hospital/admin/edit_patient.php to trusted users/networks; add strict server-side validation/sanitization for firstname; ensure output encoding in the patient list view; deploy a restrictive Content Security Policy (CSP) to reduce script execution impact; and implement WAF rules to detect/block common XSS payloads targeting the affected endpoint.

Remediation

Patch, then assume compromise.

Correct input handling and output rendering for user-controlled fields: implement robust server-side validation and sanitization for firstname (and similar fields), and apply context-appropriate output encoding when rendering patient data in the patient list and related views. Apply a vendor-provided patch/fixed release when available.
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
ImasterPatient Record Management Systemapplication
ImasterPatient Records Management Systemapplication

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

ACTIVITY FEED

Recent activity

3 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.

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 activity2

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