Vulnerability · Published Dec 19, 2025 · Assigned by GitHub_M
CVE-2025-68457Orejime has executable code in HTML attributes
Low 0.6
In plain English
A low-severity cross-site scripting in orejime from boscop-fr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | orejime | 2.3.2 | GHSA-72mh-hgpm-6384 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U
References
- https://github.com/boscop-fr/orejime/security/advisories/GHSA-72mh-hgpm-6384 x_refsource_CONFIRM
- https://github.com/boscop-fr/orejime/issues/142 x_refsource_MISC
- https://github.com/boscop-fr/orejime/pull/143 x_refsource_MISC