Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials on management-adjacent network
-
DeliveryCraft configuration file with XSS payload in SYSNAM field
-
ExploitImport malicious config via switch web management interface
-
ExecutionPayload stored persistently on device
-
PersistLegitimate admin views affected management page (passive interaction)
-
ImpactScript executes in admin browser and exfiltrates session cookie
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following conditions simultaneously: (1) The attacker must be on an adjacent network (AV:A from CVSS 4.0) - specifically the same LAN, VLAN, or management network segment as the switch's web management interface; remote internet-based exploitation is not possible without prior network access. (2) The attacker must possess or have stolen administrator-level credentials to the switch management interface (PR:H from CVSS 4.0) - lower-privilege or unauthenticated access is insufficient to perform the configuration import operation. (3) The configuration file import feature must be available and not disabled. (4) A second, legitimate administrator must passively view the management page that renders the SYSNAM parameter (UI:P from CVSS 4.0) - the attacker cannot force execution autonomously. Factors limiting exploitation: high privilege requirement prevents opportunistic unauthenticated attacks; adjacency requirement prevents direct internet exploitation; passive user interaction requirement introduces timing uncertainty. The vulnerability does NOT require any non-default configuration - the web management interface and configuration import are standard features of this device. |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) is shaped primarily by three constraining factors in the vector: AV:A (adjacent network - attacker must be on the same LAN or VLAN as the switch's management interface), PR:H (high privileges - administrator credentials are required), and UI:P (passive user interaction - a second administrator must view the affected page for execution). These factors significantly reduce real-world risk compared to a fully remote, unauthenticated XSS. The confidentiality sub-score VC:H and VA:H reflect meaningful impact if exploitation succeeds - session theft and potential availability disruption - but these are conditional on the multi-step prerequisites being met. SSVC corroborates this: exploitation status is rated none, the attack is not automatable, and technical impact is partial. No CISA KEV listing and no public exploit code further reduce urgency. The primary realistic threat is a rogue insider or a compromised administrator account on the management VLAN using this flaw to pivot laterally via stolen session cookies. For organizations with strict management network segmentation and role-based access control, the practical risk is low; for flat networks where the management interface is broadly reachable, the risk is moderately elevated. |
| Exploit ScenarioDerived | An attacker who has obtained administrator credentials to the TL-SG108PE v5 management interface - either through credential theft, phishing, or a compromised management workstation on the same network segment - crafts a device configuration file in which the SYSNAM field contains a malicious JavaScript payload. The attacker imports this configuration via the web interface, causing the script to be stored persistently on the device. When a legitimate administrator subsequently views the management page that renders the SYSNAM value, the script executes in their browser, exfiltrating the session cookie to an attacker-controlled endpoint and enabling full session hijacking. No public proof-of-concept code has been identified, but the attack technique is well-understood and follows standard stored XSS patterns. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Stored XSS in the TP-Link TL-SG108PE v5 web management interface allows an authenticated administrator on an adjacent network to inject persistent malicious script via the SYSNAM configuration parameter during a config file import operation. The injected payload is stored on the device and executes in any administrator's browser upon viewing the affected management page, enabling session cookie theft, unauthorized configuration changes, or exposure of sensitive management-plane data. No public exploit code has been identified at time of analysis, and CISA SSVC assessment rates exploitation as none and not automatable, consistent with the high privilege and adjacency prerequisites.
RemediationAI
The primary fix is to upgrade the TL-SG108PE v5 firmware to version 1.0.1 Build 260330 or later, which is confirmed available from the TP-Link vendor advisory at https://www.tp-link.com/us/support/faq/5110/ and downloadable from https://www.tp-link.com/us/support/download/tl-sg108pe/v5/#Firmware or the international mirror https://www.tp-link.com/en/support/download/tl-sg108pe/v5/#Firmware. Until patching is complete, the following compensating controls reduce exposure: restrict access to the switch management interface to a dedicated, isolated out-of-band management VLAN accessible only to trusted administrator workstations; disable configuration file import functionality if it is not operationally required (note: disabling this feature may limit disaster recovery options); enforce multi-factor authentication or session timeouts on administrator accounts to reduce the window of value for stolen session cookies. These mitigations do not eliminate the vulnerability but substantially raise the bar for exploitation given the existing adjacency and high-privilege prerequisites.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is the TP-Link TL-SG108PE v5 managed gigabit switch (CPE: cpe:2.3:a:tp-link_systems_inc.:tl-sg108pe_v5:*:*:*:*:*:*:*:*), which exposes an HTTP-based web management interface for device administration. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): the SYSNAM field within an imported configuration file is not properly sanitized or encoded before being written to persistent storage and subsequently rendered in the management UI. Because the payload is stored rather than reflected, it does not require repeated delivery and persists across sessions until the device is reconfigured or patched. The attack surface is the configuration import feature of the management interface, a privileged operation, which means the injection vector is gated behind an authenticated admin session on an adjacent network segment.
Know when Tl Sg108Pe V5 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:H/SC:L/SI:N/SA:L
Primary rating from Vendor (TPLink) · only source for this CVE.
CVSS VectorVendor: TPLink
Lifecycle Timeline
2DescriptionCVE.org
A stored cross-site scripting (XSS) vulnerability has been identified in the web management interface of TP-Link's TL-SG108PE v5 switch due to improper sanitation of the SYSNAM configuration parameter during configuration file import. An attacker with administrator access can inject malicious script into the device configuration, which may be stored and executed in the administrator’s browser when the affected interface is viewed.
Successful exploitation may allow session cookie theft, unauthorized configuration changes, or access to sensitive information exposed through the management interface.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-33420
GHSA-pmw4-462f-6fp3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB