CVE-2022-31198
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2022-31198) affects OpenZeppelin's contracts-upgradeable package versions >=4.3.0 and <4.7.2. The issue specifically impacts instances of Governor that use the GovernorVotesQuorumFraction module, which determines quorum requirements as a percentage of the voting token's total supply (OpenZeppelin Advisory).

Technical details

The vulnerability exists in the GovernorVotesQuorumFraction module's quorum management mechanism. When a proposal is passed to lower the quorum requirements, previously defeated proposals that failed due to lack of quorum could become executable if the number of votes they received meets the new lowered quorum threshold (OpenZeppelin Advisory).

Impact

The impact of this vulnerability allows past defeated proposals to potentially become executable when a proposal to update to lower quorum votes is passed. Analysis of instances on-chain identified one proposal that met this condition (OpenZeppelin Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.7.2 of the affected packages. As a workaround, users should avoid lowering quorum requirements if any past proposals were defeated for lack of quorum (OpenZeppelin Advisory).

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-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

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