Popular JavaScript library can be hacked to allow attackers into user accounts

  • Node-forge cryptography library flaw (CVE-2025-12816) allowed bypass of signature and certificate validation
  • CERT-CC warns of risks including authentication bypass and signed data tampering
  • Maintainers released version 1.3.2; developers urged to update immediately

A popular JavaScript cryptography library is vulnerable in a way which could allow threat actors to break into user accounts. The library has since been updated, and users are urged to move to the new version as soon as possible.

The bug was found in the ‘node-forge’ package, a popular cryptography tool that provides functions for things like encryption, decryption, hashing, digital signatures, TLS/SSL, and key generation, all without needing native modules.

The bug lets an attacker craft a bogus ASN.1 data structure that tricks the library into skipping cryptographic checks and allowing signature, or certificate validation, to be bypassed. It is tracked as CVE-2025-12816 and is given a severity score of 8.6/10 (high). Abstract Syntax Notation One (ASN.1) is a standard format used for encoding data in certificates and cryptographic operations.

Significant impact

Carnegie Mellon CERT-CC also issued a security advisory, in which it said the bug can be abused in different ways, and may result in authentication bypass, signed data tempering, or misuses of certificate-related functions.

“In environments where cryptographic verification plays a central role in trust decisions, the potential impact can be significant,” CERT-CC said.

Node.js developers should care because node-forge is a core cryptography library used in countless web apps and services. It is also an immensely popular library, with almost 26 million weekly downloads on the Node Package Manager (npm) registry.

The vulnerability was discovered by cybersecurity researchers from Palo Alto Networks, and was responsibly disclosed to node-forge maintainers, who released a fix earlier this week.

The fix brings the library to version 1.3.2, and developers using node-forge are urged to switch to the new version as soon as possible. As a general rule of thumb, developers should promptly update cryptography dependencies in Node.js projects, as even widely used, trusted packages can contain critical flaws.

Via BleepingComputer

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

Google TV Streamer’s sequel showcases a struggling smart home

We broke the news this week that a next-gen Google TV Streamer is incoming, but it also arrives as Google’s smart home hardware strategy...

Googlebook improving ‘Better Together’ Android sync features, Samsung support rolling out

The big selling point for Googlebook is that it’s a desktop platform that deeply integrates with your Android phone but, at launch, those “Better...

Free Gemini users now on ‘Auto’ models as app adds thinking levels

As announced last week, Google is rolling out a big change to the Gemini app experience for users on the free plan. Additionally, everyone...

Google officially teases Fitbit Edge tracker, confirms October 12 launch

Google has dropped an official teaser for its Fitbit Edge tracker and confirmed an October 12 launch, just a few days away. Read more @...

Star Wars: Galactic Racer is free to play on Amazon Luna

The long-awaited Star Wars: Galactic Racer launched earlier this week on consoles and PC, and is also free to play on Amazon Luna. Read more...

Next-gen Google TV Streamer in the works with microphones, presence sensing, & new remote

9to5Google can report that development on a next-generation Google TV Streamer is underway.  Read more @ 9to5google

Pixelated 120: The definitive Pixel tier list

Welcome to Pixelated episode 120. This week, Abner, Damien, and Will celebrate 10 years of Pixel by ranking all of Google’s smartphones released over...

Google Health 5.10 rolling out for Android, iOS

Google Health 5.10 is rolling out as a smaller update this week with a trio of new features across the app. Read more @ 9to5google

Googlebook’s hidden ‘Glowbar Disco’ turns your laptop’s lid into a light show — how to find it

Buried in the settings of Googlebook is a “Glowbar Disco” app that activates the LEDs on your laptop constantly, instead of leaving it blank. Read...

Google rolling out Android 17 QPR2 Beta 7 for Pixel

Android 17 QPR2 Beta 7 is now available for Pixel devices even as testing on QPR3 got underway last week. Read more @ 9to5google