Description
SourceCodester Doctor Appointment System 1.0 is vulnerable to Cross Site Scripting (XSS) due to improper handling of user supplied input in the user registration functionality in register.php.
Published: 2026-05-29
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Doctor Appointment System 1.0 contains a cross‑site scripting vulnerability in the registration page. User input submitted in register.php is reflected without proper sanitization, allowing an attacker to embed malicious JavaScript. If a victim visits a page containing this injected script, the code runs within the victim’s browser context, potentially stealing session cookies, defacing content, or delivering phishing payloads This flaw directly exposes confidentiality of user data and enables arbitrary script execution on the client side. The weakness corresponds to improper input validation (CWE‑79).

Affected Systems

This issue affects the SourceCodester Doctor Appointment System 1.0 as distributed. No additional vendor or version details are provided beyond the 1.0 release.

Risk and Exploitability

The exploitability is straightforward: an attacker only needs to craft a malicious registration attempt and entice a legitimate user to load the affected page. Because it relies on user‑supplied data, the vulnerability can be triggered without special privileges. The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, but the lack of input sanitization makes it a common target. The CVSS score is 6.1, indicating a moderate severity for client‑side script execution.

Generated by OpenCVE AI on June 1, 2026 at 17:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a patched version of the Doctor Appointment System that sanitizes registration input.
  • If a patch is not available, sanitize all user inputs on the server side using PHP functions such as htmlspecialchars and filter_input.
  • Implement a Content Security Policy to restrict script execution and mitigate potential damage from XSS.

Generated by OpenCVE AI on June 1, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 01 Jun 2026 18:15:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting in Doctor Appointment System Registration

Mon, 01 Jun 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 29 May 2026 18:00:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting in Doctor Appointment System Registration
First Time appeared Sourcecodester
Sourcecodester doctor Appointment System
Weaknesses CWE-79
Vendors & Products Sourcecodester
Sourcecodester doctor Appointment System

Fri, 29 May 2026 16:15:00 +0000

Type Values Removed Values Added
Description SourceCodester Doctor Appointment System 1.0 is vulnerable to Cross Site Scripting (XSS) due to improper handling of user supplied input in the user registration functionality in register.php.
References

Subscriptions

Sourcecodester Doctor Appointment System
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-01T15:25:46.599Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-36324

cve-icon Vulnrichment

Updated: 2026-05-29T18:11:04.859Z

cve-icon NVD

Status : Deferred

Published: 2026-05-29T16:16:26.620

Modified: 2026-06-01T17:16:58.027

Link: CVE-2026-36324

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-01T18:00:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')