Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-7674
JavaScript vulnerability analysis and mitigation

Overview

The access-policy npm package, which is used for encoding and decoding policy JSON files in web applications, was found to contain an Arbitrary Code Execution vulnerability (CVE-2020-7674). The vulnerability was discovered and disclosed on June 5, 2020, by the JHU System Security Lab (Snyk Database).

Technical details

The vulnerability exists in all versions of the access-policy package. The security flaw occurs when user input provided to the template function is executed by the eval function, resulting in potential code execution. The vulnerability has received a CVSS v3.1 base score of 9.8 (Critical) from NVD and 8.6 (High) from Snyk, indicating its severe nature (Snyk Database).

Impact

The vulnerability can lead to a total loss of confidentiality, with all resources within the impacted component potentially being exposed to the attacker. While integrity impact is limited, the vulnerability can affect system availability, causing reduced performance or interruptions in resource availability (Snyk Database).

Exploitability

The vulnerability is considered highly exploitable as it requires no special access conditions or user interaction. An attacker can expect repeatable success when attacking the vulnerable component, and the attack can be executed remotely without requiring any privileges (Snyk Database).

Mitigation and workarounds

As of the disclosure, there is no fixed version available for the access-policy package. Users of this package should consider using alternative solutions or implementing additional security controls to mitigate the risk (Snyk Database).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • openclaw
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management