[GHSA-rpr9-rxv7-x643] Apostrophe has default XSS via xmp raw-text passthrough in sanitize-html#7699
Conversation
|
Hi there @boutell! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository. This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory |
Dipanshusinghh
left a comment
There was a problem hiding this comment.
This change looks much more accurate based on the reproduction/testing shared in the related discussion.
Updating the affected range from <=2.17.3 to specifically 2.17.3 should help avoid confusion for users trying to verify whether older versions are actually vulnerable or not.
Also nice to see the fixed version explicitly marked as 2.17.4 here.
Updates
Comments
As noted here: apostrophecms/apostrophe#5418
The vulnerability was introduced in version 2.17.3 (not prior versions). 2.17.4 has been published to revert the changes: https://www.npmjs.com/package/sanitize-html?activeTab=versions