GHSA-28hp-fgcr-2r4h Cross-Site Scripting via JSONP
Attackers can execute arbitrary scripts in victim browsers by exploiting untrusted JSONP resource URLs in this npm library.
- 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 GHSA-28hp-fgcr-2r4h?
GHSA-28hp-fgcr-2r4h is a cross-site scripting vulnerability in angular, published on 27 Jun 2019. 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
Which versions are affected by GHSA-28hp-fgcr-2r4h?
2 open source packages ship an affected version, including angular.
| Package | Affected | Fixed in |
|---|---|---|
angular npm | All versions | 1.6.0 |
angular npm | All versions | 1.6.0 |
How do I fix GHSA-28hp-fgcr-2r4h?
Upgrade angular to 1.6.0 or later.
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 GHSA-28hp-fgcr-2r4h being exploited?
There is no known exploitation of GHSA-28hp-fgcr-2r4h in the wild and no public exploit code.