Prototype Pollution Exposure via Outdated AngularJS Loaded in Production (vendor.js)
The production site loads an outdated AngularJS 1.7.3 bundle that is no longer supported and has known security issues. A controlled proof of concept showed that unsafe object handling in the library could allow prototype pollution, modifying the JavaScript prototype chain at runtime.
National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program
Originally disclosed on Bugcrowd
- Accepted in 1 hour
- Disclosed after 44 days
Summary by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program
This script needs to be public for it to function within the website
Summary by WalidRiouah
This submission documents the use of an end-of-life JavaScript framework within a production environment.
The application loads a production JavaScript bundle containing AngularJS 1.7.3, which is no longer supported and affected by multiple publicly documented security issues.
A controlled proof of concept demonstrates how unsafe object handling in vulnerable client-side libraries may lead to Prototype Pollution, resulting in runtime modification of the JavaScript prototype chain.
Although no real-world exploitation or user impact was observed, the finding emphasizes the increased attack surface introduced by deprecated dependencies and reinforces the importance of keeping third-party components up to date.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application ships an end-of-life AngularJS version whose unsafe object handling permits prototype pollution.
Impact
No real-world exploitation or user impact was observed; the finding mainly shows an increased attack surface from a deprecated dependency.
What the attacker needed
None
The fix
The outdated AngularJS dependency should be upgraded or removed so the production bundle no longer includes an end-of-life framework.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The website uses an old version of a JavaScript library called AngularJS that the makers no longer update. Old libraries can contain known bugs. One such bug, called prototype pollution, lets an attacker change shared settings in the page's JavaScript, which can affect how the page behaves.
What is Prototype pollution?
Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.