GHSA-38gx-cfqf-f652
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-xj6q-8x83-jv6g. This link is maintained to preserve external references. ## Original Description axios versions >=1.15.2 and <1.18.0 contain prototype-pollution read-side gadgets in Basic auth subfield handling (lib/adapters/http.js and lib/helpers/resolveConfig.js). When an application is already affected by a separate prototype-pollution primitive and makes an axios request with an own auth object that omits the username and/or password properties, axios reads the inherited Object.prototype.username and Object.prototype.password values and uses them to construct an outbound 'Authorization: Basic ...' header. axios itself does not pollute prototypes. The practical impact is outbound request tampering: an attacker who controls the polluted prototype values can inject attacker-chosen Basic auth credentials or replace an existing Authorization header. Credential disclosure is only possible under additional application-specific conditions.
Properties
- ghsa_id
- GHSA-38gx-cfqf-f652
- severity
- medium
- summary
- Duplicate Advisory: Axios: Prototype pollution auth subfields can inject Basic auth
- cve_id
- GHSA-38gx-cfqf-f652
- is_ghsa_only
- true
- ghsa_published
- 2026-08-01T15:30:27Z
- source_url
- https://github.com/advisories/GHSA-38gx-cfqf-f652
- ghsa_updated
- 2026-08-07T17:51:36Z
Related Entities (4)
HAS_WEAKNESS (1)
REPORTED_BY (1)
AFFECTS (1)
VULNERABLE_TO (1)
Explore deeper with Ninja Signal's threat intelligence graph