A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-9564

CVE-2026-9564: Hospital Patient Records System XSS Flaw

CVE-2026-9564 is a cross-site scripting vulnerability in Hospital Patient Records Management System 1.0 affecting the patient view function. Attackers can exploit this remotely. This article covers technical details, impact, and mitigation.

Published: May 28, 2026

CVE-2026-9564 Overview

CVE-2026-9564 is a cross-site scripting (XSS) vulnerability [CWE-79] in SourceCodester/oretnom23 Hospitals Patient Records Management System 1.0. The flaw resides in the /admin/?page=patients/view_patient endpoint, where the Remarks parameter is not properly sanitized before being rendered. An authenticated remote attacker can inject arbitrary JavaScript that executes in the browser of any administrator viewing the affected patient record.

Critical Impact

Public exploit details are available, allowing attackers with administrative access to inject persistent JavaScript into patient records and target other admin users viewing those records.

Affected Products

  • SourceCodester Hospitals Patient Records Management System 1.0
  • oretnom23 Hospitals Patient Records Management System 1.0
  • Component: /admin/?page=patients/view_patient (Remarks field)

Discovery Timeline

  • 2026-05-26 - CVE-2026-9564 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-9564

Vulnerability Analysis

The vulnerability is a stored cross-site scripting issue affecting the patient view administration page. The application accepts user-supplied content in the Remarks argument and stores it without sanitization or output encoding. When an administrator subsequently opens /admin/?page=patients/view_patient, the unescaped content renders in the HTML response, executing any embedded JavaScript in the administrator's session context.

Exploitation requires authenticated access (PR:H) and user interaction (UI:P), which limits practical impact. Confirmed effects are limited to integrity loss in the browser context — session token theft, UI manipulation, or forced administrative actions through the victim's session. The EPSS probability is currently low, but a public proof-of-concept has been disclosed through VulDB and GitHub.

Root Cause

The root cause is missing input validation and output encoding on the Remarks field within the patient records workflow. The application trusts admin-supplied input and reflects it directly into the rendered HTML page without applying HTML entity encoding or a context-aware sanitizer. This matches the [CWE-79] pattern of improper neutralization of input during web page generation.

Attack Vector

The attack vector is network-based against the web application's admin interface. An attacker who has acquired administrative credentials, or who can coerce a privileged user to submit crafted data, stores a malicious payload in the Remarks field of a patient record. The payload executes whenever another admin opens the affected view_patient page. See the GitHub Issue Discussion and VulDB Vulnerability #365626 for technical reproduction details.

No verified code examples are available. The vulnerability manifests when user-controlled text in the Remarks parameter is rendered into the HTML body of the patient view page without escaping.

Detection Methods for CVE-2026-9564

Indicators of Compromise

  • Patient records containing HTML tags such as <script>, <img onerror=...>, or <svg> in the Remarks field.
  • HTTP POST requests to /admin/?page=patients/manage_patient or related update endpoints with script-like payloads in the Remarks parameter.
  • Unexpected outbound HTTP requests from admin browser sessions immediately after viewing a patient record.

Detection Strategies

  • Review the patient records database for Remarks field values containing angle brackets, javascript: schemes, or event handler attributes.
  • Enable verbose web server access logging on the /admin/?page=patients/view_patient route and search for encoded payload patterns.
  • Deploy a web application firewall ruleset that flags XSS signatures targeting POST parameters in the patient management workflow.

Monitoring Recommendations

  • Monitor administrator session activity for anomalous DOM-initiated requests after loading patient detail pages.
  • Alert on admin account creation, password changes, or privilege modifications that follow a patient record view.
  • Track repeated submissions to the patient update endpoint from a single account within short time windows.

How to Mitigate CVE-2026-9564

Immediate Actions Required

  • Restrict access to the /admin/ interface to trusted networks or VPN-only ranges until a fix is applied.
  • Audit all existing patient records for malicious content in the Remarks field and sanitize stored values.
  • Rotate administrator credentials and invalidate active sessions if exposure is suspected.

Patch Information

No official vendor patch is referenced in the NVD entry at the time of publication. SourceCodester and oretnom23 projects are community-maintained, and fixes are typically distributed through repository updates. Track the GitHub Issue Discussion and VulDB Vulnerability #365626 for any vendor-supplied remediation. Until a patch is available, apply the workarounds below.

Workarounds

  • Implement server-side HTML entity encoding on the Remarks field before storage and on render in the view_patient template.
  • Apply a Content Security Policy (CSP) header that disallows inline scripts and restricts script sources to a trusted allowlist.
  • Add a server-side input filter that rejects <, >, and javascript: patterns in the Remarks parameter at submission time.
  • Enforce the HttpOnly and SameSite=Strict flags on session cookies to reduce session theft impact from script execution.
bash
# Example CSP header to mitigate stored XSS in PHP/Apache deployments
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"
Header always set X-XSS-Protection "1; mode=block"
Header always edit Set-Cookie ^(.*)$ "$1; HttpOnly; Secure; SameSite=Strict"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSourcecodester

  • SeverityLOW

  • CVSS Score1.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Issue Discussion

  • VulDB Submission #815674

  • VulDB Vulnerability #365626

  • VulDB CTI for #365626
  • Related CVEs
  • CVE-2026-9414: Indian Invoicing System XSS Vulnerability

  • CVE-2026-7401: CET Automated Grading System XSS Flaw

  • CVE-2026-7297: Pizzafy Ecommerce System XSS Vulnerability

  • CVE-2026-7296: Pizzafy Ecommerce System XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English