5.6medium
Improper Input Validation
- Severity
- 5.6medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.24% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-fwf6-rw69-hhj4PYSEC-2021-866SNYK-PYTHON-HTMLTOCSV-1582784
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
| Product or package | Versions | Reported by |
|---|---|---|
| html-to-csv | before unspecified | CVE List |
| html-to-csv (PyPI) | up to 0.1.3, all versions | GitHub Advisory Database, PyPA Advisory Database |
| html-to-csv_project html-to-csv | up to 0.1.3 | NVD |
All scores
| snyk | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Esto afecta a todas las versiones del paquete html-to-csv. Cuando se presenta una fórmula insertada en una página HTML, se acepta sin ninguna comprobación y la misma se empuja mientras es convertida en un archivo CSV. A través de esto un actor malicioso puede insertar o generar un enlace malicioso o ejecutar comandos por medio de archivos CSV
References
| https://snyk.io/vuln/SNYK-PYTHON-HTMLTOCSV-1582784 | advisory, exploit, third-party-advisory, web | |
| https://github.com/hanwentao/html2csv/blob/master/html2csv/converter.py | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23654 | advisory | |
| https://github.com/hanwentao/html2csv/issues/9 | web | |
| https://github.com/advisories/GHSA-fwf6-rw69-hhj4 | advisory | |
| https://github.com/hanwentao/html2csv | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/html-to-csv/PYSEC-2021-866.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23654 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fwf6-rw69-hhj4 changed 2024-09-20 | CC-BY-4.0 |
| NVD | CVE-2021-23654 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-866 changed 2023-11-08 | CC-BY-4.0 |