Skip to content
OpenAdvisories

Product · amauric

tarteaucitron.js

8 known vulnerabilities.

7 results · Clear filters · Feed

  • Medium 5.4

    tarteaucitron.js before 1.37.0 XSS via getElemAttr Attribute Validation Mismatch

    tarteaucitron.js before 1.37.0 contains a cross-site scripting vulnerability because getElemAttr resolves 'data-' prefixed attributes while the https-only guard validates the unprefixed attribute. Attackers who can place markup, such as CMS authors, can add d…

  • Medium 4.3

    tarteaucitron.js: data-cookie attribute can be used to delete arbitrary cookies

    tarteaucitron.js is a compliant and accessible cookie banner. Prior to 1.33.0, tarteaucitron.cookie.purge() is called on any element with the purgeBtn class and does not check whether the element is a legitimate tarteaucitron button or whether the cookie corr…

  • Medium 4.4

    tarteaucitron.js has Regular Expression Denial of Service (ReDoS) vulnerability

    tarteaucitron.js is a compliant and accessible cookie banner. Prior to 1.29.0, a Regular Expression Denial of Service (ReDoS) vulnerability was identified in tarteaucitron.js in the handling of the issuu_id parameter. This vulnerability is fixed in 1.29.0.

  • Medium 4.2

    tarteaucitron.js vulnerable to DOM Clobbering via document.currentScript

    tarteaucitron.js is a compliant and accessible cookie banner. Prior to version 1.22.0, a vulnerability was identified in tarteaucitron.js where document.currentScript was accessed without verifying that it referenced an actual <script> element. If an attacker…

  • Medium 4.8

    tarteaucitron.js allows url scheme injection via unfiltered inputs

    tarteaucitron.js is a compliant and accessible cookie banner. A vulnerability was identified in tarteaucitron.js, allowing a user with high privileges (access to the site's source code or a CMS plugin) to enter a URL containing an insecure scheme such as java…

  • Medium 5.5

    tarteaucitron.js allows prototype pollution via custom text injection

    tarteaucitron.js is a compliant and accessible cookie banner. A vulnerability was identified in tarteaucitron.js prior to 1.20.1, where the addOrUpdate function, used for applying custom texts, did not properly validate input. This allowed an attacker with di…

  • Medium 5.5

    tarteaucitron.js allows UI manipulation via unrestricted CSS injection

    tarteaucitron.js is a compliant and accessible cookie banner. A vulnerability was identified in tarteaucitron.js prior to 1.20.1, where user-controlled inputs for element dimensions (width and height) were not properly validated. This allowed an attacker with…