6.1med

CVE-2017-16015

Cross-Site Scripting in forms

Also known as GHSA-vwjj-2852-3765

Published 8 y ago · modified 4 mo ago · JSON

CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.8%
percentile 58%
Public exploits
0
none known

Summary

Forms is a library for easily creating HTML forms. Versions before 1.3.0 did not have proper html escaping. This means that if the application did not sanitize html on behalf of forms, use of forms may be vulnerable to cross site scripting

Exploit prediction (EPSS)

0.83% probability of exploitation in the next 30 days, higher than 58% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmforms
<1.3.0
1.3.0

Affected products

  • HackerOne forms node module

Classification

Weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

  • github.com /caolan/forms/commit/bc01e534a0ff863dedb2026a50bd03153bbc6a5d · x_refsource_MISC, x_transferred
  • nodesecurity.io /advisories/158 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-16015 · advisory
  • github.com /advisories/GHSA-vwjj-2852-3765 · advisory
  • npmjs.com /advisories/158 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.