# CVE-2021-27318: Cross Site Scripting (XSS) vulnerability in contactus.php in Doctor Appointment System 1.0 allows remote attackers to inject arbitrary web…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.51%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-01T20:14:14.000Z
- Modified: 2026-06-17T03:44:38.820Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Cross Site Scripting (XSS) vulnerability in contactus.php in Doctor Appointment System 1.0 allows remote attackers to inject arbitrary web script or HTML via the lastname parameter.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- doctor_appointment_system_project doctor_appointment_system: 1.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <http://packetstormsecurity.com/files/161574/Doctor-Appointment-System-1.0-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/php/14182/doctor-appointment-system.html> (product)

## Sources

- CVE List: [CVE-2021-27318](https://www.cve.org/CVERecord?id=CVE-2021-27318), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-27318](https://nvd.nist.gov/vuln/detail/CVE-2021-27318), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27318 · Whole record: https://cve.day/CVE-2021-27318.json · Rebuilt by cve.day 2026-11-25T22:58:00.103Z
