-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
DoS vulnerability via obsolete "css-what" version #1924
Comments
This issue only affects css-what@4.0.0 and higher. I am trying to get the CVE updated to reflect this. For now, I have published cheerio@1.0.0-rc.10, which includes the version update. |
@fb55 I hope you'll manage to update the CVE. We use fragments in our project, so v1.0 is not a drop-in replacement. |
Sent an email, let's see how long this will take. Out of curiosity: What do you mean with fragments? The module itself hasn't changed too much, so curious to hear how we can improve the adoption story. |
Last time I had to do something like that, it was a matter of hours for the advisory team to take care.
We are manipulating HTML templates, which can be each full document (with That's what I see in the unit test failure, for example -
|
All you'll have to do to disable this behavior is set the const $ = cheerio.load(htmlString, null, false) |
@fb55 can you point me to where you found that? |
I am the maintainer of |
awesome thank you! |
Great, this is very helpful! I think it is worth explicitly documenting that flag in "migrating from v0.x" section. |
FYI, I requested an update of the npm advisory so that the version list is equal to the CVE and |
Thanks @curvedriver! Closing this as everything seems to be taken care of. |
There is fresh a security advisory on
css-what
incheerio
v0.22 - https://www.npmjs.com/advisories/1754.Audit report -
Note that
css-what
version that is currently in use is v2.1 and forced bump to v5 breakscheerio
- so that's not an option.The text was updated successfully, but these errors were encountered: