Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-72mh-hgpm-6384

Опубликовано: 19 дек. 2025
Источник: github
Github: Прошло ревью
CVSS4: 0.6
CVSS3: 6.1

Описание

Orejime has executable code in HTML attributes

Impact

On HTML elements handled by Orejime, one could run malicious code by embedding javascript: code within data attributes. When consenting to the related purpose, Orejime would turn data attributes into unprefixed ones (i.e. data-href into href), thus executing the code.

This shouldn't have any impact on most setups, as elements handled by Orejime are generally hardcoded. The problem would only arise if somebody could inject HTML code within pages.

See https://github.com/boscop-fr/orejime/issues/142 for the original report.

Patches

The problem has been patched by https://github.com/boscop-fr/orejime/pull/143. It is available in version 2.3.2.

Workarounds

The problem can be fixed outside of Orejime by sanitizing attributes which could contain executable code.

Пакеты

Наименование

orejime

npm
Затронутые версииВерсия исправления

< 2.3.2

2.3.2

EPSS

Процентиль: 9%
0.00033
Низкий

0.6 Low

CVSS4

6.1 Medium

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 6.1
nvd
около 2 месяцев назад

Orejime is a consent manager that focuses on accessibility. On HTML elements handled by Orejime prior to version 2.3.2, one could run malicious code by embedding `javascript:` code within data attributes. When consenting to the related purpose, Orejime would turn data attributes into unprefixed ones (i.e. `data-href` into `href`), thus executing the code. This shouldn't have any impact on most setups, as elements handled by Orejime are generally hardcoded. The problem would only arise if somebody could inject HTML code within pages. The problem has been patched in version 2.3.2. As a workaround, the problem can be fixed outside of Orejime by sanitizing attributes which could contain executable code.

EPSS

Процентиль: 9%
0.00033
Низкий

0.6 Low

CVSS4

6.1 Medium

CVSS3

Дефекты

CWE-79