IoTGateway Cross-Site Scripting Vulnerability in Log Record Function

Vulnerability

A cross-site scripting vulnerability has been identified in IoTGateway version 3.0.1. This issue allows remote attackers to execute arbitrary code by exploiting the Log Record Function. The vulnerability arises because the application improperly handles user-supplied data, specifically the 'X-Forwarded-For' header, which is used to log IP addresses. When this header is manipulated to include malicious scripts, the injected code is executed when the log data is rendered.

Impact

Exploitation of this vulnerability could lead to cross-site scripting, allowing for the execution of malicious scripts in the context of the user's browser.

Reproduction

To reproduce this vulnerability, send an HTTP request to the API endpoint '/_Admin/ActionLog/Search' or '/_Admin/ActionLog/Details' with the 'X-Forwarded-For' header set to include a script payload, such as an image tag with an 'onerror' event. The backend will store this information without proper sanitization. When the log data is accessed, the injected script will execute, demonstrating the cross-site scripting vulnerability.

Added: May 11, 2026, 5:41 PM
Updated: May 11, 2026, 5:41 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.4
exploitability
7.7
remediation
0.0
relevance
8.1
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.