Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23654
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23654
Complete source record
{
"id": "5add93f1294639cdbea8d28d51ce511f699ef067dbb58015d2b431574bab3e16",
"url": "https://osv.dev/vulnerability/CVE-2021-23654",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23654",
"summary": "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.",
"evidence": "osv:CVE-2021-23654",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-23654",
"aliases": [
"CVE-2021-23654",
"GHSA-fwf6-rw69-hhj4",
"PYSEC-2021-866",
"SNYK-PYTHON-HTMLTOCSV-1582784"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hanwentao/html2csv",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "e6da07a89dc804ec6f56f226f6de42f7c88b39d6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:html-to-csv_project:html-to-csv:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.1.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23654.json"
}
}
],
"modified": "2026-10-20T10:54:32.553037307Z",
"provider": "osv",
"references": [
"https://github.com/hanwentao/html2csv/blob/master/html2csv/converter.py",
"https://snyk.io/vuln/SNYK-PYTHON-HTMLTOCSV-1582784"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23654",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385528,
"published_at": "2021-11-26T20:15:07.393+00:00"
}