VulnWatch by ve1ve2
medium 6.1 EPSS 0.33%

CVE-2026-128666: A Reflected Cross-Site Scripting (XSS) vulnerability exists in PHPGurukul News Portal Project V4.1. The $currenturl variable in news-details.php is constructed…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
php

https://nvd.nist.gov/vuln/detail/CVE-2026-128666 ↗

CWE-79

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. References: https://github.com/dharmstm/PHP-GuruKul/blob/main/NVP-007-Reflected-Cross-Site-Scripting.pdf https://github.com/dharmstm/PHP-GuruKul/blob/main/NVP-007-Reflected-Cross-Site-Scripting.pdf

Linked vulnerabilities (1)

CVE-2026-128666 medium 6.1 EPSS 0.33% (p27) NVDCVE.org
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

CWE: CWE-79NVD: Received