Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-8262

4.3 · MEDIUM
Published Jul 28, 2025 yarnpkg CWE-400 EPSS 0.72% (51th pctl)

Overview

CVE-2025-8262 is a medium-severity vulnerability affecting yarnpkg yarn. It was published on July 28, 2025 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.

Remediation

Check the references section for vendor advisories and patches from yarnpkg. Update yarn to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
yarnpkg yarn 0 Affected

Frequently Asked Questions

What is CVE-2025-8262?

CVE-2025-8262 is a medium-severity vulnerability affecting yarnpkg yarn. It was published on July 28, 2025 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

How severe is CVE-2025-8262?

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-8262?

Check the references section for vendor advisories and patches from yarnpkg. Update yarn to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-8262?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-8262 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.