---
id: "CVE-2026-124570"
page: "https://infrastack.ai/live/CVE-2026-124570"
kind: "vulnerability"
aliases: ["CVE-2026-124570"]
title: "SourceCodester Online Leave Management System: stored XSS via employee avatar filename"
severity: "low"
cvss: 3.3
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["leave-management", "other", "php", "self-hosted"]
not_affected_if: []
published_at: "2026-11-09T06:17:58+00:00"
first_seen_at: "2026-11-09T06:25:02+00:00"
updated_at: "2026-11-09T06:26:54+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124570", "first_seen_at": "2026-11-09T06:25:02+00:00"}]
exploit_sources: []
---

# SourceCodester Online Leave Management System: stored XSS via employee avatar filename

Link for people: https://infrastack.ai/live/CVE-2026-124570 (this .md is for agents)

The Employee Avatar Upload function in SourceCodester Online Leave Management System 1.0 does not sanitize the avatar filename in app/classes/Master.php. An attacker can inject script through that filename, which runs in the browser of anyone who views the affected page.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-09T06:25:02+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124570

## From the sources

A vulnerability was detected in SourceCodester Online Leave Management System 1.0. Affected is an unknown function of the file app/classes/Master.php of the component Employee Avatar Upload Extension. Performing a manipulation of the argument employee avatar filename results in cross site scripting. Remote exploitation of the attack is possible. The exploit is now public and may be used.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
