Skip to main content

CVE-2025-6340: Cross Site Scripting in code-projects School Fees Payment System

Medium
VulnerabilityCVE-2025-6340cvecve-2025-6340
Published: Fri Jun 20 2025 (06/20/2025, 12:31:05 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: School Fees Payment System

Description

A vulnerability classified as problematic has been found in code-projects School Fees Payment System 1.0. This affects an unknown part of the file /branch.php. The manipulation of the argument Branch/Address/Detail leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

AI-Powered Analysis

AILast updated: 06/20/2025, 13:02:17 UTC

Technical Analysis

CVE-2025-6340 is a cross-site scripting (XSS) vulnerability identified in version 1.0 of the code-projects School Fees Payment System, specifically within the /branch.php file. The vulnerability arises from improper sanitization or validation of user-supplied input in the Branch/Address/Detail parameter, allowing an attacker to inject malicious scripts. This flaw can be exploited remotely without requiring authentication, although user interaction is necessary for the payload to execute, typically when a victim views a manipulated page. The vulnerability is classified as 'problematic' with a CVSS 4.0 base score of 5.1, indicating a medium severity level. The attack vector is network-based (AV:N), with low attack complexity (AC:L), no privileges required (PR:L, indicating low privileges but some level of authentication), and user interaction required (UI:P). The impact primarily affects the confidentiality and integrity of the victim's session or data, as the injected script can steal cookies, perform actions on behalf of the user, or manipulate displayed content. Availability impact is minimal or none. The vulnerability does not affect system components beyond the web application layer and does not require elevated privileges to exploit. No patches or fixes have been publicly disclosed yet, and no known exploits are currently reported in the wild, though the exploit details have been publicly disclosed, increasing the risk of exploitation attempts.

Potential Impact

For European organizations, especially educational institutions and payment service providers using the code-projects School Fees Payment System, this vulnerability poses a risk of session hijacking, credential theft, and unauthorized actions performed in the context of authenticated users. This could lead to unauthorized access to sensitive student financial data, manipulation of payment records, or fraudulent transactions. The medium severity rating reflects that while the vulnerability does not directly compromise system availability or cause widespread disruption, it can undermine trust in the payment system and lead to data breaches affecting privacy compliance under GDPR. Additionally, the exploitation could facilitate further attacks such as phishing or malware delivery by leveraging the compromised web interface. Organizations relying on this software without proper input validation or web application firewalls are particularly vulnerable. The requirement for user interaction means social engineering or phishing campaigns could be used to increase exploitation success. The lack of available patches means organizations must rely on mitigations until an official fix is released.

Mitigation Recommendations

1. Implement strict input validation and output encoding on the Branch/Address/Detail parameter to neutralize malicious scripts. Use context-aware encoding libraries to prevent XSS. 2. Deploy a Web Application Firewall (WAF) with rules tailored to detect and block XSS payloads targeting the affected endpoint. 3. Educate users and administrators about the risk of clicking on suspicious links or input fields related to the payment system to reduce successful exploitation via social engineering. 4. Monitor web server logs for unusual or suspicious requests targeting /branch.php with suspicious parameter values. 5. Isolate the payment system environment from other critical infrastructure to limit lateral movement if exploitation occurs. 6. Apply Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser context. 7. Regularly review and update the software to newer versions once patches become available from the vendor. 8. Conduct security assessments and penetration tests focusing on input validation and XSS vulnerabilities in the payment system.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-06-19T10:33:56.388Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6855583a7ff74dad36a62e96

Added to database: 6/20/2025, 12:46:50 PM

Last enriched: 6/20/2025, 1:02:17 PM

Last updated: 8/4/2025, 12:16:01 AM

Views: 13

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats