A vulnerability was identified in tarteaucitron.js, where the addOrUpdate 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:
The issue was resolved by ensuring that user-controlled inputs cannot modify JavaScript object prototypes.
{
"cwe_ids": [
"CWE-1321"
],
"github_reviewed": true,
"github_reviewed_at": "2025-04-07T16:38:52Z",
"nvd_published_at": "2025-04-07T15:15:44Z",
"severity": "MODERATE"
}