Bug 2397905 (CVE-2025-57352)

Summary: CVE-2025-57352 min-document: min-document prototype pollution
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alcohan, anjoseph, dymurray, fdeutsch, gmalinko, gparvin, ibolton, janstey, jbalunas, jcantril, jkoehler, jmatthew, jmontleo, jprabhak, lphiri, oramraz, owatkins, pahickey, pdelbell, pgaikwad, rhaigner, rjohnson, rojacob, rstepani, slucidi, smullick, sseago, stirabos, thason, wtam
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A prototype pollution flaw has been discovered in the npm package min-document. This flaw stems from improper handling of namespace operations in the removeAttributeNS method. By processing malicious input involving the __proto__ property, an attacker can manipulate the prototype chain of JavaScript objects, leading to denial of service or arbitrary code execution within the context of the javascript program.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2399823, 2399825, 2399827, 2399829, 2399831    
Bug Blocks:    

Description OSIDB Bzimport 2025-09-24 19:01:20 UTC
A vulnerability exists in the 'min-document' package prior to version 2.19.0, stemming from improper handling of namespace operations in the removeAttributeNS method. By processing malicious input involving the __proto__ property, an attacker can manipulate the prototype chain of JavaScript objects, leading to denial of service or arbitrary code execution. This issue arises from insufficient validation of attribute namespace removal operations, allowing unintended modification of critical object prototypes. The vulnerability remains unaddressed in the latest available version.