CVE-2021-23328
JavaScript vulnerability analysis and mitigation

Overview

This affects all versions of package iniparserjs. The vulnerability (CVE-2021-23328) was discovered and disclosed on January 29, 2021. The vulnerability relates to when ini_parser.js is concentrating arrays, affecting the package's ability to properly handle user input (AttackerKB, Snyk).

Technical details

The vulnerability is classified as a Prototype Pollution issue (CWE-1321). When ini_parser.js is concentrating arrays and user input is provided, an attacker can overwrite and pollute the object prototype of a program. The vulnerability received a CVSS v3.1 score of 5.6 (medium severity) (Snyk).

Impact

The vulnerability can lead to several types of attacks: Denial of Service (DoS) through manipulation of Object.prototype functions, potential Remote Code Execution if the codebase evaluates and executes specific object attributes, and Property Injection where attackers can pollute security-critical properties. The impact affects various environments including application servers, web servers, and web browsers (Snyk).

Exploitability

The vulnerability has a proof-of-concept exploit available. The exploit involves creating a malicious ini file with a [proto] section containing polluted properties that can affect the object prototype of the application (Snyk).

Mitigation and workarounds

Since there is no fixed version available for iniparserjs, the following mitigations are recommended: freeze the prototype using Object.freeze(Object.prototype), implement schema validation for JSON input, avoid using unsafe recursive merge functions, consider using objects without prototypes (Object.create(null)), and as a best practice, use Map instead of Object (Snyk).

Community reactions

The package has been deprecated with the message 'Package no longer supported' (NPM). The vulnerability was credited to Sam Sanoop of the Snyk Security Team (Snyk).

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-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 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