CS XSS Prevention update rule 6 JS/Node lib(s) #101
Labels
ACK_OBTAINED
Issue acknowledged from core team so work can be done to fix it.
UPDATE_CS
Issue about the update/refactoring of a existing cheat sheet.
Milestone
Update JS/Node lib(s) on Cross Site Scripting Prevention rule 6.
Cross Site Scripting Prevention rule 6 links to ecto/bleach under "Other libraries that provide HTML Sanitization include: [...] JavaScript/Node.js Bleach" (Line 344).
The current (5 year-old) version,
[email protected]
, contains 1 moderate severity vulnerability according to https://npmjs.com/advisories/47The advisory then links to a fairly unhelpful search for "html sanitizer" on npmjs.com.
There is an open issue from 2016 at ecto/bleach#12.
My cursory research into currently maintained libraries yielded two options:
If OWASP contributors find both libraries adequate and satisfactory, my suggestion for the revision would be to split "JavaScript/Node.js Bleach" (Line 344) into two lines/list items like so:
If desired, I am willing to open a PR for the above suggested revision or whatever contributors advise. Thoughts?
The text was updated successfully, but these errors were encountered: