---
id: CVE-2020-36011
title: >-
  A cross-site scripting (XSS) issue in Add Patient Form in QDOCS Smart Hospital
  Management System 3.1 allows a remote attacker to inject arbitrary code via
  the Name, Guardian Name, Email, Address, Remarks, or Any Known Allergies
  field.
summary: >-
  A cross-site scripting (XSS) issue in Add Patient Form in QDOCS Smart Hospital
  Management System 3.1 allows a remote attacker to inject arbitrary code via
  the Name, Guardian Name, Email, Address, Remarks, or Any Known Allergies
  field.
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: qdocs
product: smart_hospital
affected:
  - smart_hospital = 3.1
published: '2021-01-26'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-36011'
references:
  - url: 'https://www.exploit-db.com/exploits/49290'
    label: cve@mitre.org
  - url: 'http://qdocs.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.exploit-db.com/exploits/49290'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.007
epssPercentile: 0.51093
ingestedAt: '2026-07-05T00:59:25.804Z'
---

## Overview

A cross-site scripting (XSS) issue in Add Patient Form in QDOCS Smart Hospital Management System 3.1 allows a remote attacker to inject arbitrary code via the Name, Guardian Name, Email, Address, Remarks, or Any Known Allergies field.

## Affected

- `smart_hospital = 3.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
