samdenty / console-feed

Captures console.log's into a React Component 🔥
https://stackblitz.com/~/github.com/samdenty/console-feed
MIT License
688 stars 109 forks source link

fix(linkify): pass options #73

Closed bodinsamuel closed 3 years ago

bodinsamuel commented 3 years ago

While doing an audit at Algolia (we are using console-feed in our Crawler UI) @EgiX reported a Low vuln on our links, turns out it was coming from your package. Took the opportunity to do the fix directly here.

I'll suggest adding { rel: "noopener" } or { rel: "noreferrer" } by default to avoid this surface of attack https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html#tabnabbing Actually I'm surprised it was never reported to/from CodeSandbox as it a predominant user of this package.