Cross-site Scripting (XSS) Affecting metascraper package, versions <5.3.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.92% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDnpm:metascraper:20180328
  • published2 Apr 2018
  • disclosed28 Mar 2018
  • creditbl4de

Introduced: 28 Mar 2018

CVE-2018-3773  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade metascraper to version 5.3.0 or higher.

Overview

metascraper is a library to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when Open Graph metadata are used in HTML without any sanitization an attacker may be able to inject malicious code into any of Open Graph property.

CVSS Base Scores

version 3.1