CVE-2026-128666
Received Received - Intake

Reflected XSS in PHPGurukul News Portal Project

Vulnerability report for CVE-2026-128666, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: MITRE

Description

A Reflected Cross-Site Scripting (XSS) vulnerability exists in PHPGurukul News Portal Project V4.1. The $currenturl variable in news-details.php is constructed using unencoded REQUEST_URI and HTTP_HOST server variables and echoed directly into the href attributes of social share links. An unauthenticated remote attacker can exploit this by crafting a URL containing HTML metacharacters to break out of the href attribute and execute arbitrary HTML or JavaScript in the context of the victim's browser.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
phpgurukul news_portal 4.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Reflected Cross-Site Scripting (XSS) vulnerability in PHPGurukul News Portal Project V4.1. The $currenturl variable in news-details.php is built using unencoded REQUEST_URI and HTTP_HOST server variables. These are directly inserted into href attributes of social share links without proper encoding. An attacker can craft a malicious URL with HTML metacharacters to break out of the href attribute and inject arbitrary HTML or JavaScript code that executes in the victim's browser.

Detection Guidance

To detect this XSS vulnerability, inspect the news-details.php file in the PHPGurukul News Portal Project V4.1. Check if the $currenturl variable is constructed using unencoded REQUEST_URI and HTTP_HOST server variables and echoed directly into href attributes without sanitization.

Impact Analysis

An attacker could trick you into clicking a specially crafted link, leading to execution of malicious scripts in your browser. This could result in session hijacking, theft of cookies or sensitive data, defacement of web pages, or redirection to phishing sites. The impact depends on the privileges of the affected application and your browser session.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. It may result in data breaches, unauthorized disclosure, or loss of data integrity, potentially leading to regulatory penalties or legal consequences.

Mitigation Strategies

Immediately update to a patched version of PHPGurukul News Portal if available. As a temporary fix, sanitize the $currenturl variable using htmlspecialchars() or similar functions before outputting it to prevent XSS attacks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-128666. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...