Asadeddin

#9576of 55,140
29.5Total CVSS
Vulnerabilities · 5
Medium
5
PT-2026-67299
6.3
2026-07-06
Npm · Axios · CVE-2026-67319
**Name of the Vulnerable Software and Affected Versions** axios versions prior to 0.33.0 axios versions 1.x prior to 1.18.0 **Description** Axios can consume inherited properties from nested request option objects when the JavaScript process's `Object.prototype` has been polluted by another component. While the top-level merged configuration uses a null prototype for protection, nested plain objects such as `auth` and `paramsSerializer` are cloned into ordinary objects and read without own-property checks. If an application passes placeholder nested objects (e.g., `auth: {}` or `paramsSerializer: {}`), inherited values can be silently injected into outbound requests. Technical details include: - Silent injection of an `Authorization: Basic` header via inherited `username` and `password` variables. - Alteration of query-string serialization via inherited `encode` and `serialize` variables. Full replacement of the query string requires a function-valued pollution primitive. This issue is exploitable only if prototype pollution already exists within the environment. Affected functionality includes Node HTTP adapter Basic auth handling in `lib/adapters/http.js`, Browser/fetch/XHR Basic auth handling through `lib/helpers/resolveConfig.js`, and query serialization through `lib/helpers/buildURL.js` and `axios.getUri()`. **Recommendations** Update axios to version 0.33.0 or later. Update axios to version 1.18.0 or later. As a temporary workaround, avoid passing placeholder nested option objects; remove the `auth` property entirely when Basic auth is not intended, and provide explicit own `encode` and `serialize` properties for `paramsSerializer` objects or remove the `paramsSerializer` when custom serialization is not required.