npm / marky-markdown

npm's markdown parser
https://www.npmjs.com/package/@npmcorp/marky-markdown
405 stars 72 forks source link

Fixes injection vulnerabilities in README documents. #444

Closed ronperris closed 4 years ago

ronperris commented 4 years ago

Fixes two injection vulnerabilities.

  1. Injection of img element style attributes allowed masking page content with attacker controlled image.
  2. Injection of iframe elements with src urls that only contain youtube.com instead of requiring it be the hostname.