What the vulnerability does
01Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Pierre Lannoy Device Detector device-detector allows Reflected XSS.This issue affects Device Detector: from n/a through <= 4.2.0.
Explanation of Vulnerability in Simple Terms
02Summary
Device Detector versions up to 4.2.0 contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into pages viewed by other users. The vulnerability requires user interaction—typically clicking a malicious link—and can affect the confidentiality, integrity, and availability of the site. Update to a version newer than 4.2.0 to remediate.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that executes in other users' browsers when they visit a crafted link.
Potential impact on your site
04Site Impact
Attackers can steal session cookies, deface content, or redirect users to phishing sites via reflected XSS.
Conditions required to exploit
05Prerequisites
No authentication required. Victim must click a malicious link or visit an attacker-controlled page.
Key dates
06Disclosure timeline
December 18, 2024
CVE published
April 28, 2026
Record updated