microsoft / microsoft/react-native-windows

[0.81]Component Governance critical alert Upgrade esbuild from 0.23.1 to 0.25.0 to fix the vulnerability.

Open
#15,459 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug security
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Summary
esbuild allows any websites to send any request to the development server and read the response due to default CORS settings.

Details
esbuild sets Access-Control-Allow-Origin: * header to all requests, including the SSE connection, which allows any websites to send any request to the development server and read the response.
Recommendation
Upgrade esbuild from 0.23.1 to 0.25.0 to fix the vulnerability.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the esbuild 0.23.1 dependency in the repository's dependency manifests and identify the relevant update or validation workflow. Upgrade it to 0.25.0, then run the applicable dependency or security checks; done means the vulnerable version is no longer referenced.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.