Skip to main content

PHPGurukul Online Security Guards Hiring System CVE-2025-7791

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-07-18 cna@vuldb.com
2.0
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain admin credentials or low-privilege account
  2. Delivery
    Craft XSS payload in searchdata parameter
  3. Exploit
    Submit malicious search request
  4. Install
    Payload stored or reflected in search results page
  5. C2
    Victim admin visits results page
  6. Execute
    Malicious JavaScript executes in admin's browser context
  7. Impact
    Session 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 2.0 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 84% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:phpgurukul:online_security_guards_hiring_system:1.0:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy