{"id":"CVE-2021-23654","aliases":["EUVD-2021-0097","GHSA-fwf6-rw69-hhj4","PYSEC-2021-866","SNYK-PYTHON-HTMLTOCSV-1582784"],"status":"published","title":"Improper Input Validation","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01245,"percentile":0.69662,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1236"],"published":"2021-11-26T20:05:11Z","modified":"2026-10-20T10:54:32Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"html-to-csv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"html-to-csv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.3"}]}],"versions":["0.0.1","0.0.2","0.0.3.post1","0.1.0","0.1.1","0.1.2","0.1.3"]},{"source":"osv","ecosystem":"PyPI","package":"html-to-csv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.1","0.0.2","0.0.3.post1","0.1.0","0.1.1","0.1.2","0.1.3"]}],"products":[{"vendor":"html-to-csv_project","product":"html-to-csv"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-HTMLTOCSV-1582784","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","advisory"]},{"url":"https://github.com/hanwentao/html2csv/blob/master/html2csv/converter.py","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23654","tags":["advisory"]},{"url":"https://github.com/hanwentao/html2csv/issues/9","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fwf6-rw69-hhj4","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/html-to-csv/PYSEC-2021-866.yaml","tags":["web"]},{"url":"https://github.com/hanwentao/html2csv","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23654","title":"Improper Input Validation","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-26T20:05:11.206Z","modified":"2024-09-16T17:43:55.862Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-0097","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-26T20:05:11Z","modified":"2024-09-16T17:43:55Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T00:55:39.247967Z"}],"ghsa":[{"id":"GHSA-fwf6-rw69-hhj4","title":"Improper Neutralization of Formula Elements in a CSV File in html-2-csv","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-30T22:22:16Z","modified":"2024-09-20T21:51:05Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-1236"],"updated_at":"2026-11-02T14:38:05.526697Z"}],"nvd":[{"id":"CVE-2021-23654","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-26T20:15:07.393Z","modified":"2026-06-17T03:38:51.23Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-1236"],"updated_at":"2026-11-02T14:07:01.428028Z"}],"osv":[{"id":"CVE-2021-23654","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-26T20:15:07.393Z","modified":"2026-10-20T10:54:32.553037307Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-fwf6-rw69-hhj4","title":"Improper Neutralization of Formula Elements in a CSV File in html-2-csv","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-30T22:22:16Z","modified":"2024-09-20T22:02:57.579187Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-1236"],"updated_at":"2026-11-02T15:46:47.119724Z"},{"id":"PYSEC-2021-866","description":"This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.","status":"published","published":"2021-11-26T20:15:00Z","modified":"2023-11-08T04:05:12.383816Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
