CVE-2025-68457: Orejime Orejime Has Executable Code Vulnerability

LOW
Advisory Identifier: GHSA-72mh-hgpm-6384
CVSS 6.1
CWE-79
Published
Advisory Summary

CVE-2025-68457 is a LOW (CVSS 6.1) orejime has executable code vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Orejime libraries in the npm ecosystem. The issue involves orejime has executable code in html attributes. Remediation is available by upgrading affected packages to version 2.3.2.

CVE-2025-68457 at a Glance

CVE Identifier CVE-2025-68457
GHSA Identifier GHSA-72mh-hgpm-6384
Severity LOW
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Orejime
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-68457

To remediate this vulnerability, upgrade all affected Orejime dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

orejime fixed: 2.3.2
npm install orejime@2.3.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls orejime

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-68457, inspect your project dependencies using npm:

npm ls orejime

Analyze the terminal output to locate any version of Orejime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.2), your application is affected.

Note: The npm ls orejime command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Orejime, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2025-68457 Affected Orejime Versions

1 component(s)
Fixed Versions:
2.3.2
Product / Package Ecosystem Affected Versions Fixed Version
orejime
npm
< 2.3.2
2.3.2

References

Frequently Asked Questions

What is CVE-2025-68457?
CVE-2025-68457 is a security vulnerability in Orejime involving Orejime has executable code in HTML attributes under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Orejime versions are affected?
Affected versions include releases prior to 2.3.2 across affected packages: orejime.
What version fixes CVE-2025-68457?
Upgrading to 2.3.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is orejime affected?
Yes, orejime is affected in releases prior to 2.3.2. Upgrade your dependency to 2.3.2 or later.
What is the CVSS score of CVE-2025-68457?
CVE-2025-68457 has a CVSS v3.1 base score of 6.1 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-68457?
CVE-2025-68457 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check npm dependencies for CVE-2025-68457?
Run the dependency tree command: 'npm ls orejime'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-72mh-hgpm-6384",
  "modified" : "2026-01-13T16:53:38Z",
  "published" : "2025-12-19T19:17:26Z",
  "aliases" : [ "CVE-2025-68457" ],
  "summary" : "Orejime has executable code in HTML attributes",
  "details" : "### Impact\n\nOn HTML elements handled by Orejime, one could run malicious code by embedding `javascript:` code within data attributes.\nWhen consenting to the related purpose, Orejime would turn data attributes into unprefixed ones (i.e. `data-href` into `href`), thus executing the code.\n\nThis 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.\n\nSee https://github.com/boscop-fr/orejime/issues/142 for the original report.\n\n### Patches\n\nThe problem has been patched by https://github.com/boscop-fr/orejime/pull/143. It is available in version 2.3.2.\n\n### Workarounds\n\nThe problem can be fixed outside of Orejime by sanitizing attributes which could contain executable code.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "orejime"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/boscop-fr/orejime/security/advisories/GHSA-72mh-hgpm-6384"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68457"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/boscop-fr/orejime/issues/142"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/boscop-fr/orejime/pull/143"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/boscop-fr/orejime"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-19T19:17:26Z",
    "nvd_published_at" : "2025-12-19T17:15:53Z"
  }
}