Orejime has executable code in HTML attributes
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
orejimenpm | < 2.3.2 | 2.3.2 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-72mh-hgpm-6384ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-68457ghsaADVISORY
- github.com/boscop-fr/orejime/issues/142ghsax_refsource_MISCWEB
- github.com/boscop-fr/orejime/pull/143ghsax_refsource_MISCWEB
- github.com/boscop-fr/orejime/security/advisories/GHSA-72mh-hgpm-6384ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.