NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-68457: Orejime has executable code in HTML attributes

lowCVSS 4.0 0.6 · 3.1 6.1GHSA-72mh-hgpm-6384

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.

Published Dec 19, 2025 · Updated Jan 13, 2026

Affected packages

orejime

Ecosystem
npm
Affected
< 2.3.2
Fixed in
2.3.2
Check
npm ls orejime

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Rudloff, felixgirault.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology