Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-realm object access in Webpack 5 #10

Closed
JuanMorenoC opened this issue Mar 23, 2023 · 0 comments · Fixed by #11
Closed

Cross-realm object access in Webpack 5 #10

JuanMorenoC opened this issue Mar 23, 2023 · 0 comments · Fixed by #11
Assignees
Labels
bug Something isn't working

Comments

@JuanMorenoC
Copy link
Owner

Description
Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object.

Affected versions

= 5.0.0, < 5.76.0

Patched versions
5.76.0

References
https://nvd.nist.gov/vuln/detail/CVE-2023-28154
webpack/webpack#16500
webpack/webpack@v5.75.0...v5.76.0

Published by the National Vulnerability Database last week
Published to the GitHub Advisory Database last week

@JuanMorenoC JuanMorenoC self-assigned this Mar 23, 2023
@JuanMorenoC JuanMorenoC added the bug Something isn't working label Mar 23, 2023
@JuanMorenoC JuanMorenoC linked a pull request Apr 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant