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

chore: ugrade DOMPurify from v3.0.8 to 3.1.2 #1299

Merged
merged 4 commits into from
May 4, 2024
Merged

Conversation

rugk
Copy link
Member

@rugk rugk commented May 3, 2024

This includes v3.1.1, which says:

Note that this is a security release and should be upgraded to immediately.

https://github.com/cure53/DOMPurify/releases/tag/3.1.1

The release notes of the actual version itself are https://github.com/cure53/DOMPurify/releases/tag/3.1.2

I do not found more information on the vulnerability that apparently is in there.

  • manually tested and works

Also sad that DOMPurify apparently is not updated by Dependabot.

This incluces v3.1.1, which says:
> Note that this is a security release and should be upgraded to immediately.

https://github.com/cure53/DOMPurify/releases/tag/3.1.1

The release notes of the actual version itself are https://github.com/cure53/DOMPurify/releases/tag/3.1.2

I do not found more information on the vulnerability that apparently is in there.

* [x] manually tested and works
@rugk rugk marked this pull request as ready for review May 3, 2024 15:59
Copy link
Contributor

@elrido elrido left a comment

Choose a reason for hiding this comment

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

Thank you for updating this! It was on my radar, but I usually wait to update all of them at once when release time gets close.

Could you please also update the version in here, for the Mocha unit tests to pass:

global.DOMPurify = require('./purify-3.0.8');

And document your work into CHANGELOG.md:

* CHANGED: Upgrading libraries to: DOMpurify 3.1.2

js/purify-3.1.2.js Outdated Show resolved Hide resolved
@elrido
Copy link
Contributor

elrido commented May 4, 2024

FYI, because none of our JS-files are managed via npm (we only use it for the unit test libraries), Dependabot won't ever update those.

Copy link
Contributor

@elrido elrido left a comment

Choose a reason for hiding this comment

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

Thanks, I'll update the SRI once more in master

@elrido elrido merged commit 125feec into master May 4, 2024
11 of 17 checks passed
@elrido elrido deleted the chore/dompurify branch May 4, 2024 14:13
@rugk
Copy link
Member Author

rugk commented May 4, 2024

Okay thanks, that did not work/it loaded successfully in my GitHub Codespace for some reason…

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.

None yet

2 participants