Vulnerability DatabaseGHSA-8w7w-67mw-r5p7

GHSA-8w7w-67mw-r5p7
JavaScript vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in generator-jhipster affecting versions >6.8.0 and <6.9.0. The vulnerability was discovered and disclosed on May 17, 2020, affecting applications using JWT or session-based authentication (not OIDC). The vulnerable expression was never officially released and only affected applications generated from the master branch between versions 6.8.0 and 6.9.0 (GitHub Advisory).

Technical details

The vulnerability exists in the login check functionality where a malicious login string input could cause a denial of service due to catastrophic backtracking in the regular expression pattern matching. The issue specifically affects the LOGINREGEX pattern in Constants.java when it uses the vulnerable regex pattern ^[a-zA-Z0-9!#$&'*+=?^`{|}~.-]+@?[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$ (GitHub Advisory).

Impact

When exploited, this vulnerability can cause a denial of service condition in affected applications by making the parsing of login strings computationally expensive, potentially leading to system resource exhaustion (GitHub Advisory).

Mitigation and workarounds

For applications created from the master branch, the LOGINREGEX in Constants.java needs to be modified. The vulnerable regex pattern should be replaced with ^(?>[a-zA-Z0-9!$&*+=?^`{|}~.-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+))|(?>[.@A-Za-z0-9-]+)$. Applications using the pattern ^[.@A-Za-z0-9-]$ do not need modification unless support for the + sign in logins is required (GitHub 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-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 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