Skip to content

Conversation

@i5d6
Copy link

@i5d6 i5d6 commented Apr 28, 2025

Introduced via: docusaurus-plugin-internaldocs-fb@1.19.1 DOMPurify@3.2.4

The vulnerability in DOMPurify could allow an attacker to inject a malicious script into the application if user input is not correctly sanitized. In particular, this issue manifests in the handling of certain HTML elements or attributes, which can be exploited through a crafted payload that bypasses the sanitization process.

Introduced via: docusaurus-plugin-internaldocs-fb@1.19.1
DOMPurify@3.2.4


The vulnerability in DOMPurify could allow an attacker to inject a malicious script into the application if user input is not correctly sanitized. In particular, this issue manifests in the handling of certain HTML elements or attributes, which can be exploited through a crafted payload that bypasses the sanitization process.
Copy link
Author

@i5d6 i5d6 left a comment

Choose a reason for hiding this comment

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

The Cross-Site Scripting (XSS) vulnerability found in DOMPurify (introduced via docusaurus-plugin-internaldocs-fb@1.19.1) can have severe consequences, including session hijacking and credential theft. This issue has been addressed and fixed in DOMPurify@3.2.4.

We strongly recommend updating to the fixed version of DOMPurify and ensuring that proper sanitization is applied to all user inputs.

@facebook-github-bot
Copy link
Contributor

@yangdanny97 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ndmitchell ndmitchell closed this Apr 30, 2025
@ndmitchell
Copy link
Contributor

This changes the wrong package. Was this human authored? Can you explain how it solves the issue?

@i5d6
Copy link
Author

i5d6 commented May 1, 2025

@ndmitchell yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants