{"id":"CVE-2017-16015","aliases":["EUVD-2018-0780","GHSA-vwjj-2852-3765"],"status":"published","title":"Cross-Site Scripting in forms","description":"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","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00835,"percentile":0.57955,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79","CWE-80"],"published":"2018-06-04T19:00:00Z","modified":"2026-10-20T10:48:15Z","fixes":[{"ecosystem":"npm","package":"forms","fixed_in":["1.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"forms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}]},{"source":"osv","ecosystem":"npm","package":"forms","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}]}],"products":[{"vendor":"forms_project","product":"forms"},{"vendor":"hackerone","product":"forms node module"}],"references":[{"url":"https://github.com/caolan/forms/commit/bc01e534a0ff863dedb2026a50bd03153bbc6a5d","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://nodesecurity.io/advisories/158","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16015","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vwjj-2852-3765","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/158","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-16015","description":"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","status":"published","published":"2018-06-04T19:00:00Z","modified":"2024-09-16T22:56:32.29Z","cwes":["CWE-80"],"updated_at":"2026-11-02T14:33:21.142987Z"}],"euvd":[{"id":"EUVD-2018-0780","description":"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","status":"published","published":"2018-06-04T19:00:00Z","modified":"2024-09-16T22:56:32Z","updated_at":"2026-11-03T00:54:58.273879Z"}],"ghsa":[{"id":"GHSA-vwjj-2852-3765","title":"Cross-Site Scripting in forms","description":"Affected versions of `forms` do not properly escape HTML in generated forms, which may result in cross-site scripting.\n\n\n## Recommendation\n\nUpdate to version 1.3.0 or later.","status":"published","published":"2018-11-09T17:46:27Z","modified":"2023-09-07T18:28:06Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-80"],"updated_at":"2026-11-02T14:37:02.632342Z"}],"nvd":[{"id":"CVE-2017-16015","description":"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","status":"published","published":"2018-06-04T19:29:00.977Z","modified":"2026-06-17T01:08:38.687Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-80","CWE-79"],"updated_at":"2026-11-02T14:04:17.638656Z"}],"osv":[{"id":"CVE-2017-16015","description":"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","status":"published","published":"2018-06-04T19:29:00.977Z","modified":"2026-10-20T10:48:15.974118369Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"GHSA-vwjj-2852-3765","title":"Cross-Site Scripting in forms","description":"Affected versions of `forms` do not properly escape HTML in generated forms, which may result in cross-site scripting.\n\n\n## Recommendation\n\nUpdate to version 1.3.0 or later.","status":"published","published":"2018-11-09T17:46:27Z","modified":"2023-11-08T03:58:59.769204Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-80"],"updated_at":"2026-11-02T15:46:57.694388Z"}]}}
