Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jquery
  4. ›
  5. CVE-2018-18405

CVE-2018-18405: Cross-site Scripting

April 22, 2020 (updated April 27, 2020)

jQuery allows XSS via a crafted onerror attribute of an IMG element.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-18405

Code Behaviors & Features

Detect and mitigate CVE-2018-18405 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 2.2.2

Fixed versions

  • 2.2.3

Solution

Upgrade to version 2.2.3 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/jquery/CVE-2018-18405.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:42 +0000.