PHPGurukul Online Security Guards Hiring System
CVE-2025-7791
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain admin credentials or low-privilege account
-
DeliveryCraft XSS payload in searchdata parameter
-
ExploitSubmit malicious search request
-
InstallPayload stored or reflected in search results page
-
C2Victim admin visits results page
-
ExecuteMalicious JavaScript executes in admin's browser context
-
ImpactSession hijacking or further admin compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) authenticated access to the admin panel (PR:L - low-privilege admin account required); (2) the searchdata parameter in /admin/search.php must be unvalidated and unencoded on output; (3) a victim user must visit or interact with a page containing the malicious payload (UI:P). The attack is limited to authenticated users and depends on successful social engineering or cross-site request forgery to trick an admin into viewing the malicious input. Default installations appear vulnerable - no mention of a configuration flag disabling this feature. |
| Impact | This vulnerability presents a discrepancy between surface-level CVSS metrics and real-world exploitation likelihood. The CVSS:4.0 vector (AV:N/AC:L/PR:L/UI:P) yields a score of 2.0, reflecting low severity due to authentication (PR:L) and user interaction (UI:P) requirements. However, the EPSS score of 0.05% (percentile 16%) is exceptionally low, suggesting this specific product has minimal attack surface and is rarely deployed or targeted. The public availability of exploit code (POC) and E:P indicator suggest weaponization is possible, but no CISA KEV listing is indicated, meaning no confirmed active exploitation at scale has been reported. The integrity-only impact (VI:L) means an attacker cannot steal data or disrupt service - they can only deface pages or redirect authenticated users. For organizations running this system: this is a medium-term remediation priority (patch when feasible) rather than an emergency. Organizations not running this product can deprioritize entirely. The combination of authentication requirement + user interaction + low EPSS indicates this is not a network-wide exploitation risk despite network-accessible code. |
| Exploit ScenarioDerived | An authenticated admin user receives a phishing email containing a link to the admin search page with a malicious searchdata parameter, e.g., 'search.php?searchdata=<img src=x onerror=alert(document.cookie)>'. When the admin clicks the link, the script executes in their browser, stealing session cookies or redirecting them to a malicious site. Alternatively, an attacker with legitimate (low-privilege) admin access could inject a payload that executes whenever another admin searches, affecting multiple users. Publicly available POC code lowers the barrier to execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Stored cross-site scripting (XSS) in PHPGurukul Online Security Guards Hiring System 1.0 allows authenticated attackers to inject malicious scripts via the searchdata parameter in /admin/search.php, which are executed in the context of other users' browsers. The vulnerability requires user interaction (UI:P) and authenticated access (PR:L), limiting but not preventing exploitation. Publicly available exploit code exists, though real-world risk remains low due to authentication and interaction requirements combined with a very low EPSS score of 0.05%.
RemediationAI
No vendor-released patch has been identified at time of analysis. Organizations running this system should immediately upgrade to a patched version if available from phpgurukul.com, or implement the following compensating controls: (1) Restrict access to /admin/ endpoints to a whitelist of trusted IP addresses or VPN ranges - this eliminates remote access despite AV:N, with the trade-off of reduced administrative flexibility; (2) Disable the /admin/search.php functionality or remove the file entirely if search is not critical, eliminating the attack surface; (3) Implement HTML entity encoding of the searchdata parameter output using PHP's htmlspecialchars() or htmlentities() functions - this requires code modification but is a low-risk fix; (4) Deploy a Web Application Firewall (WAF) rule to strip or reject payloads containing script tags or event handlers in the searchdata parameter, with possible false positives on legitimate search terms. Contact the vendor at phpgurukul.com to request patched versions or security updates. Vulnerable instances should be inventoried and users warned not to click untrusted admin search results.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the PHP-based admin search functionality (/admin/search.php) where user-supplied input from the searchdata parameter is not properly sanitized or escaped before being output to the page. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw common in legacy PHP applications that lack modern input validation and output encoding frameworks. The searchdata parameter is directly reflected or stored without HTML entity encoding, allowing attackers to embed JavaScript that executes when the page is rendered. The CVSS vector indicates this is a reflected or stored XSS with limited impact (VI:L - integrity only, no confidentiality or availability impact) because modern browsers have mitigations like Content Security Policy and Same-Origin Policy in place.
Know when Online Security Guards Hiring System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability was found in PHPGurukul Online Security Guards Hiring System 1.0. It has been declared as problematic. This vulnerability affects unknown code of the file /admin/search.php. The manipulation of the argument searchdata leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
PHPGurukul Online Security Guards Hiring System v.1.0 is vulnerable to SQL Injection via osghs/admin/search.php. Rated c
A vulnerability has been found in PHPGurukul Online Security Guards Hiring System 1.0 and classified as critical. Rated
A vulnerability, which was classified as critical, was found in PHPGurukul Online Security Guards Hiring System 1.0. Rat
A vulnerability was found in PHPGurukul Online Security Guards Hiring System 1.0. Rated medium severity (CVSS 6.9), this
A vulnerability, which was classified as critical, has been found in PHPGurukul Online Security Guards Hiring System 1.0
Cross-Site Scripting (XSS) vulnerability in PHPGurukul Online Security Guards Hiring System using PHP and MySQL 1.0 allo
A vulnerability was found in PHPGurukul Online Security Guards Hiring System 1.0 and classified as problematic. Rated me
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB