Improper Input Validation in sha.js Package - CVE-2025-9288

node-sha.js Updated 02 Oct 2025

Summary

20/08/2025
N/A
No i
Unrated
Not published

CVE-2025-9288: Improper Input Validation vulnerability in sha.js allows Input Data Manipulation.This issue affects sha.js: through 2.4.11. Affects node-sha.js versions < 105bfe57c69e13c83fcf7a6ca660dd984cb291bf. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The sha.js package is a widely used library for hashing data in JavaScript applications. It provides various cryptographic hash functions, enabling developers to securely handle data integrity. However, the package has been identified to have a vulnerability that allows for improper input validation, potentially leading to data manipulation.

Vulnerability Detail

CVE-2025-9288 is an improper input validation vulnerability found in the sha.js package, affecting versions up to 2.4.11. This flaw allows attackers to manipulate input data, which can lead to unexpected behavior or security breaches. The vulnerability originates from the way the package processes input, failing to adequately validate it before use, which can have serious implications for applications relying on this library for data integrity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, ensure that all input data is validated before being processed by the sha.js functions. This can be done by implementing additional checks in your application code to sanitize and validate input data.

Conclusion

The CVE-2025-9288 vulnerability in the sha.js package poses a significant risk due to improper input validation. It is crucial for developers to update to the latest version of the package and implement necessary input validation measures to protect their applications from potential data manipulation attacks.

See every vulnerability recorded for node-sha.js →

Share this vulnerability

FAQ

CVE-2025-9288 is a vulnerability in the sha.js package that allows for improper input validation, leading to potential data manipulation.

The vulnerability affects sha.js versions up to 2.4.11.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The risks include unauthorized data manipulation, which can compromise the integrity of applications relying on the sha.js library for hashing.

If an immediate update is not possible, implement input validation checks in your application to mitigate the risk until you can upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for node-sha.js.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback