Vulnerability DatabaseGHSA-fgp6-8g62-qx6w

GHSA-fgp6-8g62-qx6w
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-fgp6-8g62-qx6w) was identified in the npm package 'smartsearchwp', which was discovered to contain malicious code. The issue was published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. All versions of the package are affected, and there are no patched versions available (GitHub Advisory).

Technical details

The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.8. The CVSS base metrics indicate Network attack vector, Low attack complexity, No privileges required, No user interaction needed, Unchanged scope, and High impact on Confidentiality, Integrity, and Availability. The vulnerability is associated with CWE-506 (GitHub Advisory).

Impact

The malicious package was designed to steal credentials from websites where it is loaded. It contains functionality to traverse DOM elements searching for username and password fields, uploading the collected data to a remote server. Additionally, the package performs port scanning of the local gateway and uploads this information. It also includes a feature to fetch and execute commands from a remote server using eval. However, the npm security team found that bugs in the malware prevented it from successfully executing these malicious actions (GitHub Advisory).

Exploitability

The malicious code is not automatically invoked upon installation or require. Exploitation would require transpiling TypeScript code and implementing it in a website. The npm security team's analysis revealed that several bugs in the malware prevent it from successfully performing its intended malicious actions (GitHub Advisory).

Mitigation and workarounds

The recommended action is to completely remove the package from the environment. According to the advisory, there is no indication of further compromise beyond the package itself (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-49250HIGH8.7
  • JavaScript logoJavaScript
  • @conform-to/dom
NoYesSep 14, 2026
CVE-2026-55091HIGH7.5
  • JavaScript logoJavaScript
  • flat-to-nested
NoYesSep 14, 2026
CVE-2026-59960HIGH7.5
  • JavaScript logoJavaScript
  • @argos-ci/core
NoYesSep 14, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesSep 14, 2026
CVE-2026-57583LOW3.3
  • JavaScript logoJavaScript
  • @openzeppelin/wizard
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management