CVE-2017-17745
Description
Cross-site scripting (XSS) in TP-Link TL-SG108E system_name_set.cgi allows authenticated remote attackers to inject arbitrary JavaScript via the sysName parameter.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cross-site scripting (XSS) in TP-Link TL-SG108E system_name_set.cgi allows authenticated remote attackers to inject arbitrary JavaScript via the sysName parameter.
Vulnerability
The vulnerability is a stored cross-site scripting (XSS) in the system_name_set.cgi endpoint of TP-Link TL-SG108E switches running firmware version 1.0.0 Build 20160722 Rel.50167 (hardware version TL-SG108E 3.0). The sysName parameter is not properly sanitized, allowing injection of arbitrary JavaScript [1]. Older firmware versions may also be affected.
Exploitation
An attacker must be authenticated to the device's web interface. The attacker submits a request to system_name_set.cgi with a crafted sysName parameter containing JavaScript payload. The script executes in the context of the admin's session when the system name is displayed on the management page [1].
Impact
Successful exploitation enables the attacker to execute arbitrary JavaScript within the admin session, potentially leading to session hijacking, defacement, or further compromise of the switch configuration [1].
Mitigation
TP-Link acknowledged the vulnerability and indicated that an updated firmware would be released [1]. However, as of the publication date (December 2017), no official fix or workaround has been disclosed. Users should monitor TP-Link's support page for firmware updates and restrict access to the management interface to trusted networks only.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
1- seclists.org/fulldisclosure/2017/Dec/67nvdMailing ListThird Party Advisory
News mentions
0No linked articles in our index yet.