Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-51031 — Proof-of-concept for CVE-2024-51031: Stored Cross-Site Scripting (XSS) in Sourcecodester Cab Management System 1.0 via manage_account.php fields. Demonstrates cookie theft through injected SVG payload. | Kitploit
Tools/GitHubGitHub/vighneshnair7/cve-2024-51031
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubvighneshnair7/cve-2024-51031

CVE-2024-51031

Proof-of-concept for CVE-2024-51031: Stored Cross-Site Scripting (XSS) in Sourcecodester Cab Management System 1.0 via manage_account.php fields. Demonstrates cookie theft through injected SVG payload.

View Repository
121 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-51031

Description

A Cross-site Scripting (XSS) vulnerability in manage_account.php in Sourcecodester Cab Management System 1.0 allows remote authenticated users to inject arbitrary web scripts via the "First Name," "Middle Name," and "Last Name" fields.

Vulnerability Type

Cross Site Scripting (XSS)

Vendor of Product

Sourcecodester

Affected Product Code Base:

https://www.sourcecodester.com/php/15180/cab-management-system-phpoop-free-source-code.html - 1.0

Affected Component:

Cross Site Scripting (XSS) vulnerability in Sourcecodester Cab Management System 1.0 allows remote attackers to run arbitrary code via the firstname, middlename & lastname input fields on the manage_account.php page.

Attack Vectors:

  1. Set up the application locally and log in with the provided credentials for sample client access.
  • Navigate to the "Manage Account" section by clicking on the profile avatar.
  • Inject the payload <svg onload=alert(document.cookie)> into the "First Name", "Middle Name", and "Last Name" fields. Complete the remaining form details and click the "Update Details" button.
  • Upon receiving the message "Account Details have been updated successfully," log in to the admin portal. When accessing the "Registered Clients" page, a pop-up displaying the admin's cookie will appear, confirming a successful Stored Cross-Site Scripting (XSS) attack.
  • Reference:

    1. https://www.sourcecodester.com
    2. https://www.sourcecodester.com/php/15180/cab-management-system-phpoop-free-source-code.html
    3. https://portswigger.net/web-security/cross-site-scripting
    Download Tool