Description
embedza is a module to create HTML snippets/embeds from URLs using info from oEmbed, Open Graph, meta tags. embedza versions below 1.2.4 download JavaScript resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested JavaScript file with an attacker controlled JavaScript file if the attacker is on the network or positioned in between the user and the remote server.
Remediation
References
https://nodesecurity.io/advisories/187
Related Vulnerabilities
CVE-2018-9206 Vulnerability in npm package blueimp-file-upload
CVE-2016-10686 Vulnerability in npm package fis-sass-all
CVE-2014-7205 Vulnerability in npm package bassmaster
CVE-2018-16487 Vulnerability in maven package org.webjars.bowergithub.lodash:lodash
CVE-2021-29441 Vulnerability in maven package com.alibaba.nacos:nacos-common