Advisory

GHSA-72mh-hgpm-6384

Also known as: CVE-2025-68457

Summary

Orejime has executable code in HTML attributes

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-12-19 19:17 UTC
Modified
2026-02-03 03:01 UTC

Affected packages and fixes

orejime

npm · All systems

Affected

  • introduced 0, fixed 2.3.2 (semver)

Fixed versions

2.3.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences