Skip to main content

TP-Link TL-SG108PE CVE-2026-34127

| EUVDEUVD-2026-33420 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-29 TPLink GHSA-pmw4-462f-6fp3
5.3
CVSS 4.0 · Vendor: TPLink
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials on management-adjacent network
  2. Delivery
    Craft configuration file with XSS payload in SYSNAM field
  3. Exploit
    Import malicious config via switch web management interface
  4. Execution
    Payload stored persistently on device
  5. Persist
    Legitimate admin views affected management page (passive interaction)
  6. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

TL-SG108PE v5 0 <1.0.1 Build 260330

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

Vendor (TPLink) PRIMARY 5.3 MEDIUM
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

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
Low

Lifecycle Timeline

2
CVSS changed
May 29, 2026 - 20:22 NVD
5.3 (MEDIUM)
CVE Published
May 29, 2026 - 18:59 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy