← Back to search

CVE-2026-58205

8.1 HIGHpublic exploit available

Published 2026-10-27 · Updated 2026-10-29

AI risk analysis

Summary
A reflected cross-site scripting (XSS) vulnerability in GRR's `maj.php` allows attackers to inject malicious JavaScript via the unescaped `forcemaj` parameter when installation files are left on the server, enabling session hijacking and phishing due to non-HttpOnly cookies.
Exploitability
Exploitation requires social engineering (e.g., tricking a user into clicking a crafted URL) since user interaction is needed and the vulnerable endpoint remains accessible only if installation files are not removed.
Blast radius
Successful exploitation can lead to full account compromise via session hijacking, data theft, or redirection to malicious sites, affecting any authenticated user who visits the malicious link.
Detection
Defenders can detect exploitation attempts by monitoring for unusual HTTP GET requests to `/maj.php` containing JavaScript payloads in the `forcemaj` parameter, especially when such requests originate from external domains or include suspicious encoding patterns like `%3Cscript%3E`.
Prioritized remediation
Upgrade to GRR version 4.5.0 or later, and manually remove installation files (e.g., `install.php`, `maj.php`) from the web root if they are not needed.
xssreflectedwebappsession-hijackingphishing

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

GRR is a resource management and reservation application. Prior to version 4.5.0, `maj.php` reflects the `forcemaj` parameter without adequate escaping when installation files remain accessible. Removal of these files is not automatic. An attacker can craft a URL that executes arbitrary JavaScript in a victim's browser when the victim accesses it. This reflected cross-site scripting can enable phishing, redirection to malicious sites, cookie theft and session hijacking because the authentication cookie is not `HttpOnly`. This issue is fixed in version 4.5.0.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Weaknesses

CWE-79

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.