{"id":"GHSA-fw2f-7f87-5r6c","revision":"d871b555f2cc405ebecf5567a1e592bb","records":[{"revision":"d871b555f2cc405ebecf5567a1e592bb","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-fw2f-7f87-5r6c","aliases":["CVE-2020-7674","SNYK-JS-ACCESSPOLICY-571490"],"title":"Improper Input Validation in access-policy","description":"access-policy through 3.1.0 is vulnerable to Arbitrary Code Execution. User input provided to the `template` function is executed by the `eval` function resulting in code execution.","state":0,"publishedAt":"2021-05-17T21:00:29+00:00","modifiedAt":"2026-07-08T06:50:02.291678+00:00","affected":[{"ecosystem":"npm","name":"access-policy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"3.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-7674","https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490"],"sourceUrl":"https://github.com/advisories/GHSA-fw2f-7f87-5r6c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-fw2f-7f87-5r6c","identifiers":["GHSA-fw2f-7f87-5r6c","CVE-2020-7674","SNYK-JS-ACCESSPOLICY-571490"]},"retained":false,"historicalAffected":[]}],"coverage":[]}