{"id":"GHSA-fw2f-7f87-5r6c","summary":"Improper Input Validation in access-policy","details":"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.","aliases":["CVE-2020-7674","SNYK-JS-ACCESSPOLICY-571490"],"modified":"2026-07-08T06:50:02.291678050Z","published":"2021-05-17T21:00:29Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-13T17:15:59Z","nvd_published_at":"2020-06-10T16:15:00Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7674"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490"}],"affected":[{"package":{"name":"access-policy","ecosystem":"npm","purl":"pkg:npm/access-policy"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-fw2f-7f87-5r6c/GHSA-fw2f-7f87-5r6c.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:H"}]}