| Title | phpIPAM 1.x Cross Site Scripting |
|---|
| Description | $POST->deviceid is stripped of HTML tags by strip_tags(), but double quotes and event handlers are preserved. create_rack_link() concatenates $deviceId directly into a URL string of img's src without attribute escaping, reflecting it directly into the HTML response and browser execution contexts. An attacker can construct a crafted link containing JavaScript code. When a targeted user visits the link, the scripts execute within their active browser session context. This permits an attacker to perform Reflected Cross-Site Scripting (XSS), potentially leading to session hijacking, sensitive data exposure, or unauthorized actions performed on behalf of the victim. |
|---|
| Source | ⚠️ https://gist.github.com/KHr00t/a7f3b2eea71d30ad7ccf65e1d47e502f |
|---|
| User | khroot (UID 42101) |
|---|
| Submission | 09/16/2026 07:00 (1 month ago) |
|---|
| Moderation | 10/24/2026 09:17 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 426076 [phpIPAM up to 1.8.3 Rack Link Creation show-rack-popup.php create_rack_link deviceid cross site scripting] |
|---|
| Points | 20 |
|---|