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-12311: Cross Site Scripting in PHPGurukul Curfew e-Pass Management System

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

Description

A vulnerability was detected in PHPGurukul Curfew e-Pass Management System 1.0. This issue affects some unknown processing of the file edit-category-detail.php. The manipulation of the argument catname results in cross site scripting. The attack can be launched remotely. The exploit is now public and may be used.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

CVE-2025-12311 identifies a cross-site scripting (XSS) vulnerability in the PHPGurukul Curfew e-Pass Management System version 1.0. The vulnerability arises from insufficient sanitization or encoding of user-supplied input in the 'catname' parameter processed by the edit-category-detail.php script. An attacker can craft a malicious URL or input that injects executable JavaScript code, which is then rendered in the victim's browser when they access the affected page. This type of vulnerability allows attackers to execute arbitrary scripts in the context of the victim's session, potentially stealing cookies, session tokens, or performing actions on behalf of the user. The vulnerability is remotely exploitable without authentication, but requires user interaction to trigger the malicious payload. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:H indicates high privileges required, but this conflicts with description and may be a data inconsistency), user interaction required (UI:P), and impacts on confidentiality and integrity but not availability. No patches or mitigations have been officially released yet, and while no active exploitation has been observed, the public availability of the exploit code increases the likelihood of future attacks. The affected product is a niche e-pass management system used to regulate movement during curfews, making it a potential target for attackers aiming to disrupt or manipulate such controls.

Potential Impact

The primary impact of this XSS vulnerability is on the confidentiality and integrity of user sessions and data. Attackers exploiting this flaw can hijack user sessions, steal sensitive information such as authentication tokens, or perform unauthorized actions on behalf of legitimate users. This can lead to unauthorized access to restricted areas of the e-pass system, manipulation of e-pass categories or details, and potential disruption of curfew enforcement processes. The availability impact is minimal, as the vulnerability does not directly cause denial of service. However, successful exploitation could undermine trust in the e-pass system and cause operational disruptions. Organizations relying on this system for critical movement control during emergencies or curfews could face reputational damage and operational challenges if attackers manipulate or disrupt e-pass issuance or validation. The public availability of exploit code increases the risk of opportunistic attacks, especially against less secure deployments or users with elevated privileges.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately implement strict input validation and output encoding on the 'catname' parameter within the edit-category-detail.php script to neutralize malicious scripts. Employing a web application firewall (WAF) with rules to detect and block XSS payloads targeting this parameter can provide temporary protection. Restricting user privileges to the minimum necessary reduces the impact if exploitation occurs. Monitoring web server logs for suspicious requests containing script tags or unusual input patterns can help detect attempted exploitation. Since no official patch is currently available, organizations should contact PHPGurukul for updates or consider upgrading to a newer, patched version when released. Educating users to avoid clicking on suspicious links related to the e-pass system can reduce successful exploitation. Finally, implementing Content Security Policy (CSP) headers can limit the execution of unauthorized scripts in browsers.

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:37.080Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68ffca08ba6dffc5e209ffee

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

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

Last updated: 3/22/2026, 9:13:58 AM

Views: 172

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