CVE-2025-57354
Last modified
CVE-2025-57354 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. A vulnerability exists in the 'counterpart' library for Node.js and the browser due to insufficient sanitization of user-controlled input in translation key processing. The affected versions prior to 0.18.6 allow attackers to manipulate the library's translation functionality by supplying maliciously crafted keys containing prototype chain elements (e.g., __proto__ ), leading to prototype pollution. EPSS estimates a 0.45% chance of exploitation in the next 30 days.
Description
A vulnerability exists in the 'counterpart' library for Node.js and the browser due to insufficient sanitization of user-controlled input in translation key processing. The affected versions prior to 0.18.6 allow attackers to manipulate the library's translation functionality by supplying maliciously crafted keys containing prototype chain elements (e.g., __proto__ ), leading to prototype pollution. This weakness enables adversaries to inject arbitrary properties into the JavaScript Object prototype through the first parameter of the translate method when combined with specific separator configurations, potentially resulting in denial-of-service conditions or remote code execution in vulnerable applications. The issue arises from the library's failure to properly validate or neutralize special characters in translation key inputs before processing.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-57354?
How severe is CVE-2025-57354?
How do I fix CVE-2025-57354?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-57349The messageformat package, an implementation of the Unicode …7.5
- CVE-2025-5735A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.11…8.8
- CVE-2025-57350The csvtojson package, a tool for converting CSV data to JSO…8.6
- CVE-2025-57351A prototype pollution vulnerability exists in the ts-fns pac…6.5
- CVE-2025-57352A vulnerability exists in the 'min-document' package prior t…5.3
- CVE-2025-57353The Runtime components of messageformat package for Node.js …5.3
- CVE-2025-5736A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.11…8.8
- CVE-2025-5737A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.11…8.8
- CVE-2025-5738A vulnerability was found in TOTOLINK X15 1.0.0-B20230714.11…8.8
- CVE-2025-57389A reflected cross-site scripting (XSS) vulnerability in the …5.4
- CVE-2025-5739A vulnerability classified as critical has been found in TOT…8.8
- CVE-2025-57392BenimPOS Masaustu 3.0.x is affected by insecure file permiss…7.8
Are you affected by CVE-2025-57354?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
