{"id":"GHSA-3c9c-2p65-qvwv","summary":"Prototype pollution in aurelia-path","details":"### Impact\nThe 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`\n\n### Patches\nThe problem should be patched in version `1.1.7`. Any version earlier than this is vulnerable.\n\n### Workarounds\nA partial work around is to free the Object prototype:\n```ts\nObject.freeze(Object.prototype)\n```","aliases":["CVE-2021-41097"],"modified":"2026-07-08T06:28:36.483035824Z","published":"2021-09-27T20:12:16Z","database_specific":{"cwe_ids":["CWE-1321","CWE-915"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-09-27T19:18:37Z","nvd_published_at":"2021-09-27T18:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/aurelia/path/security/advisories/GHSA-3c9c-2p65-qvwv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41097"},{"type":"WEB","url":"https://github.com/aurelia/path/issues/44"},{"type":"WEB","url":"https://github.com/aurelia/path/commit/7c4e235433a4a2df9acc313fbe891758084fdec1"},{"type":"PACKAGE","url":"https://github.com/aurelia/path"},{"type":"WEB","url":"https://github.com/aurelia/path/releases/tag/1.1.7"},{"type":"WEB","url":"https://www.npmjs.com/package/aurelia-path"}],"affected":[{"package":{"name":"aurelia-path","ecosystem":"npm","purl":"pkg:npm/aurelia-path"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-3c9c-2p65-qvwv/GHSA-3c9c-2p65-qvwv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}