Malicious Package in dictum.js

dictum.js Updated 02 Oct 2025

Summary

01/09/2020
CRITICAL
No i
Critical
Not published

GHSA-j5jc-jf8f-86q7: Malicious Package in dictum.js. Affects dictum.js versions 1.0.5. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

dictum.js is an npm package used for manipulating and extracting data from forms in the browser. It provides functionality to enumerate password, cvc, and cardnumber fields from forms. However, version 1.0.5 of dictum.js contained malicious code that compromised user data by extracting sensitive information and sending it to a remote server.

Vulnerability Detail

The vulnerability in version 1.0.5 of dictum.js allows an attacker to collect sensitive user data without their knowledge or consent. When executed in the browser, the malicious code enumerates specific form fields related to passwords, cvc, and card numbers. The extracted values are then sent to a remote server located at https://js-metrics.com/minjs.php?pl=. This unauthorized data collection can lead to potential misuse and compromise of user information.

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

A possible workaround for this vulnerability is to manually remove or disable version 1.0.5 of dictum.js from the application and replace it with a trusted version. This can be done by updating the package.json file or using the package manager to install a specific version. For example, to install version 1.0.4, you can use the following command: npm install dictum.js@1.0.4.

Conclusion

In conclusion, version 1.0.5 of dictum.js contains a malicious code that compromises user data by extracting sensitive information and sending it to a remote server. It is crucial to replace this version with a trusted one and evaluate the application for any potential data compromise. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dictum.js →

Share this vulnerability

FAQ

dictum.js is an npm package used for manipulating and extracting data from forms in the browser. It provides functionality to enumerate specific form fields related to passwords, cvc, and card numbers.

Version 1.0.5 of dictum.js is affected by this vulnerability.

The malicious code in version 1.0.5 of dictum.js extracts sensitive user data, including passwords, cvc, and card numbers, from forms and sends it to a remote server.

To fix this vulnerability, replace version 1.0.5 of dictum.js with a version before or after 1.0.5. Additionally, evaluate the application to determine if user data was compromised.

Yes, you can downgrade to version 1.0.4 of dictum.js as a temporary workaround until a patched version is available.

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