CVE-2022-25869 Angular (deprecated package) Cross-site Scripting
Cross-site scripting vulnerability in AngularJS allows attackers to execute scripts via insecure page caching in Internet Explorer.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-25869?
CVE-2022-25869 is a medium-severity cross-site scripting vulnerability in AngularJS.Core, published on 15 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
All versions of the package angular; all versions of the package angularjs.core; all versions of the package angularjs are vulnerable to Cross-site Scripting (XSS) due to insecure page caching in the Internet Explorer browser, which allows interpolation of <textarea> elements.
Weakness: CWE-79
Which versions are affected by CVE-2022-25869?
2 open source packages ship an affected version, including angular. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
angular npm | All versions to 1.8.3 | None |
angular npm | All versions to 1.8.3 | None |
Products include Angularjs Angularjs.
How do I fix CVE-2022-25869?
No fix published yet.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-25869 being exploited?
There is no known exploitation of CVE-2022-25869 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in AngularJS.Core
- CVE-2019-10768 angular Prototype Pollution vulnerability
- CVE-2019-14863 AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes
- CVE-2020-7676 Angular vulnerable to Cross-site Scripting
- CVE-2023-26116 angular vulnerable to regular expression denial of service via the angular.copy() utility
- CVE-2023-26117 angular vulnerable to regular expression denial of service via the $resource service
Sources
Also known as DEBIAN-CVE-2022-25869, GHSA-prc3-vjfx-vhm9, MINI-wvhc-jwq9-f67p, UBUNTU-CVE-2022-25869.