Weakness Patterns
A CVE tells you about one bug. A weakness pattern is the class behind it: the same root-cause mechanism and fix shape, recurring across components and vendors. Each page names the invariant the class breaks, walks the shared mechanism, lists every CVE in the corpus that instantiates it, and hands you a runnable audit query to find its siblings in your own codebase — turning “here’s a bug” into “here’s how to stop the class.”
let/const TDZ (the-hole) check based on a linear view of execution, but a conditional branch — a switch jump table, a continue, a labeled break, or a lowered module-variable load — reaches the use without having run the earlier check, so an uninitialized “hole” sentinel flows into code that assumes a real value.