Vulnerability library
Security checkNovember 20, 2025

Angular vulnerable to Cross-site Scripting

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

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.

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 Angular vulnerable to Cross-site Scripting and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 20, 2025