CVE-2018-18405 json
jQuery v2.2.2 allows XSS via a crafted onerror attribute of an IMG element.
published 2020-04-22 6 y ago modified 2026-06-17 4 mo ago also EUVD-2018-10134
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-18405 updated cvss 0.0
jquery: crafted onerror attribute of an IMG element could result in XSS
-
Red Hat Fuse 7 jqueryaffected: no fix planned “Will not fix”
-
Red Hat CloudForms Management Engine 5 cfme-gemset Red Hat OpenShift Service Mesh 1 kiali, servicemesh-grafana, servicemesh-grafana-prometheus Red Hat Enterprise Linux 6 ipa, pcp, pcp-gui, pcp-conf, pcp-libs, pcp-webjs, +80 more Red Hat Enterprise Linux 7 ipa, pcp, pki-ca, ipsilon, pcp-gui, pki-kra, +128 more Red Hat Enterprise Linux 8 ipa, jss, pki-ca, idm-jss, ldapjdk, pki-kra, +41 more Red Hat OpenShift Container Platform 3.11 atomic-openshift-web-consolenot affected: vulnerable code not present
+10 more productsfewer
Red Hat OpenShift Container Platform 4 openshift4/ose-console Red Hat OpenStack Platform 10 (Newton) python-XStatic-jQuery, python-XStatic-jquery-ui Red Hat OpenStack Platform 13 (Queens) python-XStatic-jQuery, python-XStatic-jquery-ui Red Hat OpenStack Platform 15 (Stein) python-XStatic-jQuery, python3-XStatic-jQuery, xstatic-jquery-ui-common, python3-XStatic-jquery-ui Red Hat OpenStack Platform 16 (Train) python-XStatic-jQuery, python3-XStatic-jQuery, python-XStatic-jquery-ui, xstatic-jquery-ui-common, python3-XStatic-jquery-ui Red Hat Satellite 5 jquery-ui, patternfly1 Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloak Red Hat Software Collections python27-python-coverage, python27-python-werkzeug, rh-python35-python-coverage, rh-python36-python-coverage, rh-ror42-rubygem-jquery-rails, rh-ror50-rubygem-jquery-rails Red Hat Storage 3 python-testtools Red Hat Virtualization 4 rhvm, ovirt-engine, ovirt-web-ui, ovirt-engine-setup, ovirt-engine-tools, ovirt-engine-backend, +18 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.66% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W/
vendor-advisory
- gist.github.com /CyberSecurityUP/26c5b032897630fe8407da4a8ef216d4
- twitter.com /DanielRufde/status/1255185961866145792
- gitter.im /jquery/jquery?at=5ea844a05cd4fe50a3d7ddc9
Sources
- CVE List CVE-2018-18405
- NVD CVE-2018-18405
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.