Malicious Code Vulnerability in markdown-nconf-string-xerxes Package

markdown-nconf-string-xerxes Updated 27 Nov 2025

Summary

13/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-187928: Malicious code in markdown-nconf-string-xerxes (npm). Affected versions are not published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The markdown-nconf-string-xerxes package is a Node.js library designed for handling configuration settings in markdown format. It is part of the npm ecosystem and is often used in applications that require markdown processing. However, this package has been identified as part of a malicious campaign that aims to exploit npm's package publishing system.

Vulnerability Detail

The vulnerability originates from the package being associated with a token reward campaign that floods npm with malicious packages. It includes scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior can lead to the pollution of the npm registry and potentially compromise the integrity of applications relying on this package.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall markdown-nconf-string-xerxes

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

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

Workaround

As a temporary workaround, you can prevent the installation of this package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include markdown-nconf-string-xerxes in its dependencies.

Conclusion

The markdown-nconf-string-xerxes package has been identified as a malicious entity within the npm ecosystem, posing significant risks to applications that utilize it. Immediate action is required to mitigate these risks by removing the package and monitoring for any further vulnerabilities.

See every vulnerability recorded for markdown-nconf-string-xerxes →

Share this vulnerability

FAQ

The malicious code modifies package.json to remove private flags and changes version numbers, which can lead to unauthorized package republishing.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you have installed markdown-nconf-string-xerxes, it is crucial to remove it immediately and check for any other dependencies that may be affected.

While specific exploits have not been detailed, the malicious behavior of the package can lead to significant security risks, including unauthorized access to your npm registry.

Regularly monitor your dependencies using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall markdown-nconf-string-xerxes

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

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