Skip to content

chore(fe): fix CWE-79 vulnerability - #2275

Merged
mamartinezmejia merged 2 commits into
mainfrom
chore/fe/CWE-79
Jun 16, 2026
Merged

chore(fe): fix CWE-79 vulnerability#2275
mamartinezmejia merged 2 commits into
mainfrom
chore/fe/CWE-79

Conversation

@mamartinezmejia

@mamartinezmejia mamartinezmejia commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Description

This pull request addresses a high-severity prototype pollution XSS vulnerability in the dompurify package.

Security Issue

  • CVE ID: CVE-2026-41238
  • Severity: High
  • Vulnerability Type: Prototype Pollution leading to XSS bypass via CUSTOM_ELEMENT_HANDLING
  • Affected Package: dompurify (transitive dependency)
  • Current Version: 3.4.0
  • Fixed Version: 3.4.10

Changes

Updated the dompurify package version from 3.4.0 to 3.4.10 via the package.json overrides configuration to ensure the security patch is applied across the dependency tree.

Files Changed

  • package.json — updated override for dompurify package
  • package-lock.json — automatically updated by npm install

Testing

  • Ran npm install to verify dependency resolution
  • Confirmed package-lock.json was updated with the patched version

Closing Issue

Closes #249


Thanks for the PR!

Deployments, as required, will be available below:
Any successful deployments (not always required) will be available here

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

@github-actions

Copy link
Copy Markdown
Contributor

There is no coverage information present for the Files changed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • frontend/package-lock.json: Generated file

Comment thread frontend/package.json Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

There is no coverage information present for the Files changed

@mamartinezmejia
mamartinezmejia merged commit c8b0316 into main Jun 16, 2026
36 of 39 checks passed
@mamartinezmejia
mamartinezmejia deleted the chore/fe/CWE-79 branch June 16, 2026 16:59
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.

3 participants