Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/evanw/esbuild/pkg/api
to version 0.25.0 or higher.
Affected versions of this package are vulnerable to Origin Validation Error due to the default CORS settings that set the Access-Control-Allow-Origin: *
header. An attacker can intercept and read potentially sensitive information by sending crafted requests from any origin.
Note:
This is only exploitable if the attacker knows the URL of the bundle output file name and if the victim has the source map option enabled.