Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/47851?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47851?format=api", "vulnerability_id": "VCID-136g-25cv-33ch", "summary": "ts-fns has prototype pollution vulnerability\nA prototype pollution vulnerability exists in the ts-fns package versions prior to 13.0.7, where insufficient validation of user-provided keys in the assign function allows attackers to manipulate the Object.prototype chain. By leveraging this flaw, adversaries may inject arbitrary properties into the global object's prototype, potentially leading to application crashes, unexpected code execution behaviors, or bypasses of security-critical validation logic dependent on prototype integrity. The vulnerability stems from improper handling of deep property assignment operations within the library's public API functions. This issue remains unaddressed in the latest available version.", "aliases": [ { "alias": "CVE-2025-57351" }, { "alias": "GHSA-g7wq-wggw-vmhg" } ], "fixed_packages": [], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/70608?format=api", "purl": "pkg:npm/ts-fns@13.1.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-136g-25cv-33ch" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ts-fns@13.1.3" } ], "references": [ { "reference_url": "https://github.com/tangshuang/ts-fns", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/tangshuang/ts-fns" }, { "reference_url": "https://github.com/tangshuang/ts-fns/issues/36", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/tangshuang/ts-fns/issues/36" }, { "reference_url": "https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57351", "reference_id": "CVE-2025-57351", "reference_type": "", "scores": [], "url": "https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57351" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-57351", "reference_id": "CVE-2025-57351", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-57351" }, { "reference_url": "https://github.com/advisories/GHSA-g7wq-wggw-vmhg", "reference_id": "GHSA-g7wq-wggw-vmhg", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-g7wq-wggw-vmhg" } ], "weaknesses": [ { "cwe_id": 1321, "name": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')", "description": "The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-136g-25cv-33ch" }