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

fix(deps): update rollup bundled DOM Clobbering Gadget found scripts that leads to XSS #427

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sufatmawati
Copy link

@sufatmawati sufatmawati commented Jan 23, 2025

Change Overview

We discovered a DOM Clobbering vulnerability in rollup when bundling scripts that use import.meta.url or with plugins that emit and reference asset files from code in cjs/umd/iife format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (an img tag with an unsanitized name attribute) are present.

  • Bug fix
    • External Facing (resolves an issue customers are currently experiencing)
    • Security Impact (fixes a potential vulnerability)
  • Feature
    • Visible Change (changes semver of API surface or other change that would impact user/dev experience)
    • High Usage (impacts a major part of the core workflow for users)
  • Performance Improvement
  • Refactoring
  • Other: Describe here

Weakness CWE-79

@sufatmawati sufatmawati changed the title fix(deps): update dependency fix(deps): update rollup bundled DOM Clobbering Gadget found scripts that leads to XSS Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant