Vulnerability record · CVE-2021-3275 · published 26 March 2021
CVE-2021-3275: Tp-link td-w9977 firmware cross-site scripting vulnerability
Tp Link · Td W9977 Firmware
Unauthenticated stored cross-site scripting (XSS) exists in multiple TP-Link products including WIFI Routers (Wireless AC routers), Access Points, ADSL + DSL Gateways and Routers, which affects TD-W9977v1, TL-WA801NDv5, TL-WA801Nv6, TL-WA802Nv5, and Archer C3150v2 devices through the improper validation of the hostname. Some of the pages including dhcp.htm, networkMap.htm, dhcpClient.htm, qsEdit.htm, and qsReview.htm and use this vulnerable hostname function (setDefaultHostname()) without sanitization.
Description
Unauthenticated stored cross-site scripting (XSS) exists in multiple TP-Link products including WIFI Routers (Wireless AC routers), Access Points, ADSL + DSL Gateways and Routers, which affects TD-W9977v1, TL-WA801NDv5, TL-WA801Nv6, TL-WA802Nv5, and Archer C3150v2 devices through the improper validation of the hostname. Some of the pages including dhcp.htm, networkMap.htm, dhcpClient.htm, qsEdit.htm, and qsReview.htm and use this vulnerable hostname function (setDefaultHostname()) without sanitization.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/161989/TP-Link-Cross-Site-Scripting.html | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/smriti548/CVE/blob/main/CVE-2021-3275 | ExploitThird Party Advisory |
| https://seclists.org/fulldisclosure/2021/Mar/67 | ExploitMailing ListThird Party Advisory |
| https://www.tp-link.com | Vendor Advisory |
| http://packetstormsecurity.com/files/161989/TP-Link-Cross-Site-Scripting.html | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/smriti548/CVE/blob/main/CVE-2021-3275 | ExploitThird Party Advisory |
| https://seclists.org/fulldisclosure/2021/Mar/67 | ExploitMailing ListThird Party Advisory |
| https://www.tp-link.com | Vendor Advisory |
Track CVE-2021-3275 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3275), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.