Malicious Code Detected in pexels-core-sdk: Security Risk Alert

pexels-core-sdk Updated 02 Oct 2025

Summary

03/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6748: Malicious code in pexels-core-sdk (npm). Affects pexels-core-sdk versions >= 2.8.6. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The pexels-core-sdk is a Node.js package designed to facilitate access to the Pexels API, allowing developers to integrate high-quality stock photos and videos into their applications. It offers features such as searching for images, retrieving photo details, and managing collections. However, a recent vulnerability has been identified that compromises the security of this package, making it susceptible to malicious activities.

Vulnerability Detail

The vulnerability in the pexels-core-sdk package arises from its communication with a domain associated with malicious activity. This could potentially lead to unauthorized access, data breaches, or the execution of harmful code within applications utilizing this package. The issue was introduced in version 2.8.6, and it poses significant risks to developers and users relying on this package for secure and reliable functionality.

How To Fix

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

npm uninstall pexels-core-sdk

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, consider removing the pexels-core-sdk package from your project until a secure version is available. You can uninstall the package using the following command: npm uninstall pexels-core-sdk.

Conclusion

The pexels-core-sdk package has been found to contain malicious code due to its communication with a harmful domain. It is crucial for developers to update or remove this package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for pexels-core-sdk →

Share this vulnerability

FAQ

The pexels-core-sdk is a Node.js package that allows developers to access the Pexels API for integrating stock photos and videos into applications.

The vulnerability involves the package communicating with a domain linked to malicious activities, posing risks of unauthorized access and data breaches.

You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.

If an immediate update is not possible, consider removing the package from your project as a temporary measure until a secure version is released.

The vulnerability was identified by Amazon Inspector, a security service that helps identify vulnerabilities in applications.

How To Fix

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

npm uninstall pexels-core-sdk

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