CVE-2022-25869: Angular (deprecated package) Cross-site Scripting

angular Updated 02 Oct 2025

Summary

16/07/2022
No i
Moderate
6.1

CVE-2022-25869: Angular (deprecated package) Cross-site Scripting. Affects angular versions < 1.8.3. No fix is published. How to fix ↓

Also tracked for

The same CVE-2022-25869 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Angular package is a deprecated version of the Angular framework, which is used for building web applications. It provides a set of tools and libraries for creating dynamic and interactive user interfaces. However, all versions of the package are vulnerable to Cross-site Scripting (XSS) due to insecure page caching in the Internet Explorer browser. This vulnerability allows for the interpolation of <textarea> elements, potentially leading to the execution of malicious scripts.

Vulnerability Detail

The vulnerability in the Angular package arises from insecure page caching in the Internet Explorer browser. This allows for the interpolation of <textarea> elements, which can be exploited to inject and execute malicious scripts. An attacker could craft a specially crafted payload and trick a user into visiting a malicious website or clicking on a malicious link, leading to the execution of the injected script. This could result in various consequences, such as unauthorized access to sensitive information, session hijacking, or defacement of the affected web application.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to update to the latest version of @angular/core.

Conclusion

The Angular package is vulnerable to Cross-site Scripting (XSS) due to insecure page caching in the Internet Explorer browser. To mitigate this vulnerability, it is recommended to update to the actively maintained package @angular/core. This will ensure that the XSS vulnerability is addressed and that security updates are received. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for angular →

Share this vulnerability

FAQ

This vulnerability allows for Cross-site Scripting (XSS) attacks, which can lead to the execution of malicious scripts. The impact could include unauthorized access to sensitive information, session hijacking, or defacement of the affected web application.

All versions of the Angular package up to and including version 1.8.3 are affected by this vulnerability.

Yes, the recommended fix is to update to the actively maintained package @angular/core, which is not affected by this vulnerability.

There are no known exploits for this vulnerability at the moment. However, it is important to apply the recommended fix to mitigate the risk of potential attacks.

Related vulnerabilities

Recent vulnerabilities recorded for angular.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback