Outdated Static Dependency in vue-momentGHSA-hrpp-f84w-xhfg
MEDIUMFix: brockpetrie/vue-moment@a265e54GHSA-hrpp-f84w-xhfg is a medium-severity (CVSS 5.3) vulnerability in vue-moment. A fix is available for vue-moment — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
vue-momentnpmDescription
Versions of vue-moment prior to 4.1.0 contain an Outdated Static Dependency. The package depends on moment and has it loaded statically instead of as a dependency that can be updated. It has [email protected] that contains a Regular Expression Denial of Service vulnerability.
Recommendation
Upgrade to version 4.1.0 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | vue-moment | all versions | 4.1.0npm install vue-moment@4.1.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for vue-moment, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update vue-moment to 4.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hrpp-f84w-xhfg is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-hrpp-f84w-xhfg in your dependencies?
Find it across npm, including transitive dependencies.