SecurityContext

CVE-2024-51107: PHPGURUKUL Medical Card Generation System - Stored XSS

  • Cve: CVE-2024-51107
  • Name: PHPGURUKUL Medical Card Generation System - Stored XSS
  • Description: Multiple stored cross-site scripting (XSS) vulnerabilities in the component /mcgs/admin/contactus.php of PHPGURUKUL Medical Card Generation System using PHP and MySQL v1.0 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the pagetitle, pagedes, and email parameters.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, potentially stealing session data or performing actions on behalf of users.
  • Remediation: Update to the latest version with proper input sanitization and output encoding.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00272
  • Epss percentile: 0.19632
  • Assignee: [email protected]
  • Published at: 2025-05-23T15:15:23Z
  • Age in days: 550
  • Modified at: 2026-06-17T08:05:24Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-51107
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/0xBhushan/Writeups/blob/main/CVE/phpGurukul/Medical%20Card%20Generation%20System/Stored%20XSS-Contact%20Us.pdfnvd2025-05-23

References

UrlSourceTags
https://github.com/0xBhushan/Writeups/blob/main/CVE/phpGurukul/Medical%20Card%20Generation%20System/Stored%20XSS-Contact%20Us.pdfnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
anujk305:medical_card_generation_system= 1.0nonvd/v1/products/anujk305/medical_card_generation_system

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-05-23
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts