关键信息 漏洞概述 漏洞类型: Prototype pollution via custom text injection 严重性: Moderate (5.5/10) CVE ID: CVE-2025-31475 弱点: CWE-1321 影响的包和版本 Package: AmauriC/tarteaucitron.js (Github) - 受影响版本: < 1.20.1 - 修复版本: 1.20.1 Package: tarteaucitronjs (npm) - 受影响版本: < 1.20.1 - 修复版本: 1.20.1 描述 A vulnerability was identified in , where the function, used for applying custom texts, did not properly validate input. This allowed an attacker with direct access to the site's source code or a CMS plugin to manipulate JavaScript object prototypes, leading to potential security risks such as data corruption or unintended code execution. 影响 An attacker with high privileges could exploit this vulnerability to: Modify object prototypes, affecting core JavaScript behavior, Cause application crashes or unexpected behavior, Potentially introduce further security vulnerabilities depending on the application's architecture. 修复 The issue was resolved by ensuring that user-controlled inputs cannot modify JavaScript object prototypes. Fix Commit: 74c354c