Vulnerability · Published Nov 26, 2021 · Assigned by snyk
CVE-2021-23654Improper Input Validation
Medium 5.6
In plain English
A medium-severity security flaw in html-to-csv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities).
Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)1.2%top 30.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | html-to-csv | no fix listed | GHSA-fwf6-rw69-hhj4 |
| PyPI | html-to-csv | no fix listed | PYSEC-2021-866 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | html-to-csv | 0 – before unspecified |
References
- https://snyk.io/vuln/SNYK-PYTHON-HTMLTOCSV-1582784 x_refsource_MISC
- https://github.com/hanwentao/html2csv/blob/master/html2csv/converter.py x_refsource_MISC