XSS in Angularjs

CVE-2020-7676

angular.js prior to 1.8.0 allows cross site scripting. The regex-based input HTML replacement may turn sanitized code into unsanitized one. Wrapping "<option>" elements in "<select>" ones changes parsing behavior, leading to possibly unsanitizing code.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS 0.019, 80.4th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Angularjs
  • Angular.js — versions All versions prior to 1.8.0

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (badchars/JS-Analyzer, ossf-cve-benchmark/CVE-2020-7676). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References