{"schema_version":"1.9.0","id":"GHSA-fw2f-7f87-5r6c","published":"2021-05-17T21:00:29Z","modified":"2026-07-08T06:50:02.291678050Z","aliases":["CVE-2020-7674","SNYK-JS-ACCESSPOLICY-571490"],"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.","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"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7674"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ACCESSPOLICY-571490"}],"database_specific":{"cwe_ids":["CWE-94"],"github_reviewed":true,"github_reviewed_at":"2021-05-13T17:15:59Z","nvd_published_at":"2020-06-10T16:15:00Z","severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}