CVE-2026-97650

ningzichun student-management-system addLog.php echo cross site scripting

Published Sep 25, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability has been found in ningzichun student-management-system up to 98760f5711cf6dc8b4adca53a9e207ca49b02ebf. Affected by this issue is the function echo of the file admin/fun/addLog.php. The manipulation of the argument reason/detail leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

The failure in the echo function of admin/fun/addLog.php allows an attacker to inject arbitrary JavaScript by manipulating the reason/detail argument. Based on the description, it is inferred that no authentication is required, so any remote user can craft a request that will cause the script to execute in the browser of anyone who views the affected page. The injected code can hijack sessions, steal credentials, or deface content, demonstrating a classic cross‑site scripting flaw (CWE‑79) and potential for code injection (CWE‑94).

Affected Systems

The flaw affects installations of ningzichun student‑management‑system that use any codebase up to commit 98760f5711cf6dc8b4adca53a9e207ca49b02ebf. No patched release is currently available, and the project has not responded to the disclosed issue, leaving all such installations exposed.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. EPSS information is not available and the vulnerability is not listed in the CISA KEV catalog, yet the public disclosure and the remote nature of the attack suggest a non‑negligible exploitation probability. An attacker only needs to send a crafted HTTP request to the vulnerable endpoint; once executed, any user who loads the resulting page will be vulnerable to the injected script.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an official patch once the vendor releases a fixed version.
  • Sanitize or escape the reason/detail parameter in addLog.php, for example by using htmlspecialchars or a dedicated HTML escaping library.
  • Restrict access to addLog.php to authenticated administrators and enforce strict access controls.
  • Implement a Content Security Policy (CSP) header to reduce the impact of any remaining injection.

Generated by OpenCVE AI on September 25, 2026 at 10:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability has been found in ningzichun student-management-system up to 98760f5711cf6dc8b4adca53a9e207ca49b02ebf. Affected by this issue is the function echo of the file admin/fun/addLog.php. The manipulation of the argument reason/detail leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title ningzichun student-management-system addLog.php echo cross site scripting
First Time appeared Ningzichun
Ningzichun student-management-system
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:ningzichun:student-management-system:*:*:*:*:*:*:*:*
Vendors & Products Ningzichun
Ningzichun student-management-system
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 25, 2026, 1:44 PM
Reserved
Sep 24, 2026, 6:53 PM
Status
Deferred
Published
Sep 25, 2026, 3:16 AM
Modified
Sep 25, 2026, 2:17 PM