{"schemaVersion":3,"id":"CVE-2021-3275","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-26T12:21:23.000Z","modified":"2024-08-03T16:53:17.136Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01788,"percentile":0.78148,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01788},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01788,"percentile":0.78148}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01788,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01788,"percentile":0.78148}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SMRITI548_CVE","name":"Cve","source":"github","url":"https://github.com/smriti548/CVE/blob/main/CVE-2021-3275","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_911D3033A0F88426","name":"Exploit Reference (seclists.org)","source":"reference","url":"https://seclists.org/fulldisclosure/2021/Mar/67","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_ABAA29F8BBA016AC","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/161989/TP-Link-Cross-Site-Scripting.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"tp-link","product":"archer-c3150_firmware","name":"archer-c3150 firmware","label":"archer-c3150_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"v2_170926","noFixRecorded":false,"fixedIn":null}],"versionsText":"v2_170926","eol":null,"hubHref":"/vendor/tp-link/archer-c3150"},{"vendor":"tp-link","product":"td-w9977_firmware","name":"td-w9977 firmware","label":"td-w9977_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"v1_0.1.0_0.9.1_up_boot\\(161123\\)_2016-11-23_15.36.15","noFixRecorded":false,"fixedIn":null}],"versionsText":"v1_0.1.0_0.9.1_up_boot\\(161123\\)_2016-11-23_15.36.15","eol":null,"hubHref":"/vendor/tp-link/td-w9977"},{"vendor":"tp-link","product":"tl-wa801n_firmware","name":"tl-wa801n firmware","label":"tl-wa801n_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"v6_eu_0.9.1_3.16_up_boot\\[200116-rel61815\\]","noFixRecorded":false,"fixedIn":null}],"versionsText":"v6_eu_0.9.1_3.16_up_boot\\[200116-rel61815\\]","eol":null,"hubHref":"/vendor/tp-link/tl-wa801n"},{"vendor":"tp-link","product":"tl-wa801nd_firmware","name":"tl-wa801nd firmware","label":"tl-wa801nd_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"v5_us_0.9.1_3.16_up_boot\\[170905-rel56404\\]","noFixRecorded":false,"fixedIn":null}],"versionsText":"v5_us_0.9.1_3.16_up_boot\\[170905-rel56404\\]","eol":null,"hubHref":"/vendor/tp-link/tl-wa801nd"},{"vendor":"tp-link","product":"tl-wr802n_firmware","name":"tl-wr802n firmware","label":"tl-wr802n_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"v4_us_0.9.1_3.17_up_boot\\[200421-rel38950\\]","noFixRecorded":false,"fixedIn":null}],"versionsText":"v4_us_0.9.1_3.17_up_boot\\[200421-rel38950\\]","eol":null,"hubHref":"/vendor/tp-link/tl-wr802n"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.tp-link.com","label":"www.tp-link.com","hostname":"www.tp-link.com","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"https://github.com/smriti548/CVE/blob/main/CVE-2021-3275","label":"github.com/smriti548/CVE/blob/main/CVE-2021-3275","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://seclists.org/fulldisclosure/2021/Mar/67","label":"seclists.org/fulldisclosure/2021/Mar/67","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/161989/TP-Link-Cross-Site-Scripting.html","label":"packetstormsecurity.com/files/161989/TP-Link-Cross-Site-Scripting.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-03-26T12:21:23.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T16:53:17.136Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:35:36.542Z","stale":false,"partial":false}}