CVE-2018-6212 Cross-site scripting in n/a
Reflected XSS in D-Link DIR-620 routers allows attackers to inject scripts via the Search field, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-6212?
CVE-2018-6212 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Jun 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
On D-Link DIR-620 devices with a certain customized (by ISP) variant of firmware 1.0.3, 1.0.37, 1.3.1, 1.3.3, 1.3.7, 1.4.0, and 2.0.22, a reflected Cross-Site Scripting (XSS) attack is possible as a result of missed filtration for special characters in the "Search" field and incorrect processing of the XMLHttpRequest object.
Weakness: CWE-79
Which versions are affected by CVE-2018-6212?
It affects 1 product.
Products include D-Link Dir-620 Firmware.
How do I fix CVE-2018-6212?
No fix has been published for CVE-2018-6212 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-2018-6212 being exploited?
There is no known exploitation of CVE-2018-6212 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-x3w4-f7g4-5q46.