Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12312: Cross Site Scripting in PHPGurukul Curfew e-Pass Management System

0
Medium
VulnerabilityCVE-2025-12312cvecve-2025-12312
Published: Mon Oct 27 2025 (10/27/2025, 19:32:12 UTC)
Source: CVE Database V5
Vendor/Project: PHPGurukul
Product: Curfew e-Pass Management System

Description

A flaw has been found in PHPGurukul Curfew e-Pass Management System 1.0. Impacted is an unknown function of the file view-pass-detail.php. This manipulation of the argument Fullname/Category causes cross site scripting. The attack may be initiated remotely. The exploit has been published and may be used.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/24/2026, 21:43:28 UTC

Technical Analysis

CVE-2025-12312 identifies a cross-site scripting (XSS) vulnerability in the PHPGurukul Curfew e-Pass Management System version 1.0. The vulnerability exists in the view-pass-detail.php file, where the Fullname and Category parameters are not properly sanitized or encoded before being reflected in the web page output. This allows an attacker to inject arbitrary JavaScript code remotely by manipulating these parameters, which is then executed in the context of the victim's browser. The attack vector is network-based (AV:N), requires low attack complexity (AC:L), no privileges (PR:H indicates high privileges required, but the CVSS vector states PR:H which is contradictory; given the description, no authentication is required, so this may be a CVSS vector inconsistency), and requires user interaction (UI:P), such as clicking a malicious link. The vulnerability impacts confidentiality and integrity by enabling theft of session cookies, credentials, or performing actions on behalf of the user. The CVSS score of 4.8 reflects a medium severity level, considering the ease of exploitation and potential impact. No patches or fixes have been linked yet, and no active exploitation has been reported, but the availability of a public exploit increases the urgency for mitigation. This vulnerability is typical of reflected XSS issues caused by insufficient input validation and output encoding in web applications handling user-supplied data.

Potential Impact

The primary impact of this vulnerability is on the confidentiality and integrity of users interacting with the affected e-pass management system. Attackers can exploit the XSS flaw to steal session cookies, enabling account takeover or impersonation of legitimate users. This can lead to unauthorized access to sensitive personal data or e-pass details. Additionally, attackers could deface the web interface or redirect users to malicious websites, potentially leading to further compromise or phishing attacks. For organizations, this undermines trust in the e-pass system, potentially disrupts operations, and exposes them to regulatory and reputational risks. Since the system is used for curfew pass management, exploitation could also have public safety implications if attackers manipulate or intercept pass issuance or details. The medium CVSS score suggests that while the vulnerability is not critical, it still poses a significant risk, especially if combined with social engineering or other attack vectors.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately implement strict input validation and output encoding on all user-controllable parameters, especially Fullname and Category fields in the view-pass-detail.php file. Employ context-aware encoding (e.g., HTML entity encoding) to neutralize injected scripts before rendering. Deploy a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting these parameters. Conduct a thorough code review of the entire application to identify and remediate similar input handling issues. If possible, update or patch the software once an official fix is released by PHPGurukul. Educate users about the risks of clicking suspicious links and encourage the use of modern browsers with built-in XSS protections. Additionally, implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Regularly monitor logs for unusual activities that may indicate attempted exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-10-26T17:17:41.265Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68ffca08ba6dffc5e209fff5

Added to database: 10/27/2025, 7:37:44 PM

Last enriched: 2/24/2026, 9:43:28 PM

Last updated: 3/24/2026, 7:44:09 PM

Views: 165

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses