CVE-2018-18405 Cross-site scripting in n/a
Cross-site scripting vulnerability in jQuery allows attackers to execute arbitrary scripts via crafted IMG onerror attributes.
- 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-18405?
CVE-2018-18405 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Apr 2020. 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
jQuery v2.2.2 allows XSS via a crafted onerror attribute of an IMG element. NOTE: this vulnerability has been reported to be spam entry
Weakness: CWE-79
Which versions are affected by CVE-2018-18405?
It affects 1 product.
Products include Jquery Jquery.
How do I fix CVE-2018-18405?
No fix has been published for CVE-2018-18405 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-18405 being exploited?
There is no known exploitation of CVE-2018-18405 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9p3r-vprr-2c27.