CVE-2019-10805
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2019-10805 affects valib through version 2.0.0, a standalone JavaScript library designed for validation. The vulnerability was discovered and disclosed on February 28, 2020, by security researcher Feng Xiao (xiaofen9). The issue allows Internal Property Tampering in the validation functions of the library (Snyk Advisory).

Technical details

The vulnerability stems from the library's unsafe usage of the built-in 'hasOwnProperty' function when examining user-input objects. The library uses this function directly from potentially unsafe user input to examine objects, which creates a security weakness. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, indicating a high severity issue with network attack vector and no required privileges or user interaction (NVD).

Impact

When exploited, this vulnerability allows maliciously crafted JavaScript objects to bypass several inspection functions provided by valib. An attacker can overwrite the hasOwnProperty function to manipulate the inspection results, effectively bypassing security checks implemented using the library (Snyk Advisory).

Mitigation and workarounds

Currently, there is no fixed version available for the valib library. Users are advised to consider alternative validation libraries or implement additional security controls to validate object properties (Snyk 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-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 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