---
id: CVE-2021-27332
title: >-
  Cross-site scripting (XSS) vulnerability in SourceCodester CASAP Automated
  Enrollment System v 1.0 allows remote attackers to inject arbitrary web script
  or HTML via the class_name parameter to update_class.php.
summary: >-
  Cross-site scripting (XSS) vulnerability in SourceCodester CASAP Automated
  Enrollment System v 1.0 allows remote attackers to inject arbitrary web script
  or HTML via the class_name parameter to update_class.php.
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: casap_automated_enrollment_system_project
product: casap_automated_enrollment_system
affected:
  - casap_automated_enrollment_system = 1.0
published: '2021-07-22'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-27332'
references:
  - url: >-
      https://github.com/BigTiger2020/CASAP-Automated-Enrollment-System/blob/main/CASAP-Automated-Enrollment-System-6.md
    label: cve@mitre.org
  - url: 'http://casap.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/BigTiger2020/CASAP-Automated-Enrollment-System/blob/main/CASAP-Automated-Enrollment-System-6.md
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00845
epssPercentile: 0.56255
ingestedAt: '2026-07-06T17:03:23.558Z'
---

## Overview

Cross-site scripting (XSS) vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to inject arbitrary web script or HTML via the class_name parameter to update_class.php.

## Affected

- `casap_automated_enrollment_system = 1.0`

## Remediation

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