Vulnerability library
Security checkJanuary 09, 2023

XSS via JQLite DOM manipulation functions in AngularJS

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmangular

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

XSS may be triggered in AngularJS applications that sanitize user-controlled HTML snippets before passing them to JQLite methods like JQLite.prepend, JQLite.after, JQLite.append, JQLite.replaceWith, JQLite.append, new JQLite and angular.element.

Recommendation

Update the angular package to the latest compatible version. Followings are version details:

  • Affected version(s): < 1.8.0
  • Patched version(s): 1.8.0

References

Could your website be exposed too?

SmartScanner can check your website for XSS via JQLite DOM manipulation functions in AngularJS and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023