CVE-2024-57514 Cross-site scripting in n/a
Attackers can execute arbitrary JavaScript in victims' browsers via crafted URLs in the TP-Link Archer A20 v3 router web interface.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-57514?
CVE-2024-57514 is a medium-severity cross-site scripting vulnerability in n/a, published on 28 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The TP-Link Archer A20 v3 router is vulnerable to Cross-site Scripting (XSS) due to improper handling of directory listing paths in the web interface. When a specially crafted URL is visited, the router's web page renders the directory listing and executes arbitrary JavaScript embedded in the URL. This allows the attacker to inject malicious code into the page, executing JavaScript on the victim's browser, which could then be used for further malicious actions. The vulnerability was identified in the 1.0.6 Build 20231011 rel.85717(5553) version.
Weakness: CWE-79
Which versions are affected by CVE-2024-57514?
How do I fix CVE-2024-57514?
No fix has been published for CVE-2024-57514 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-57514 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57514 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-h6q9-c4w9-v66r.