High
Security advisory
In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exported CSV files could contain characters that a spreadsheet program could interpret as a command, leading to execution of a malicious string locally on a device, aka CSV injection.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40848
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:35 UTC · Revision 1
Source evidence
In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exported CSV files could contain characters that a spreadsheet program could interpret as a command, leading to execution of a malicious string locally on a device, aka CSV injection.
osv:CVE-2021-40848
Complete source record
{
"id": "5769061b0cfb9a2beb1159877189f43161cb5d298e175f76bd25beb1551c782e",
"url": "https://osv.dev/vulnerability/CVE-2021-40848",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40848",
"summary": "In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exported CSV files could contain characters that a spreadsheet program could interpret as a command, leading to execution of a malicious string locally on a device, aka CSV injection.",
"evidence": "osv:CVE-2021-40848",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-40848",
"aliases": [
"CVE-2021-40848"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/maharaproject/mahara",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "84bc4a5c7030470a811a630b242066df098ec273"
},
{
"introduced": "baa466e351a72541cd7a28d6eb982a1fbc7a428c"
},
{
"fixed": "d294a69446e795dcbddf4e4929d597968bbdc4ef"
},
{
"introduced": "359597b32c7afe52339422a91f14256e17b33dfc"
},
{
"fixed": "0c3426bf91635a3e33c4cda993af52318e123d9a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "20.04.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "20.10.0"
},
{
"fixed": "20.10.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "21.04.0"
},
{
"fixed": "21.04.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"20.10.2_RELEASE",
"20.04.4_RELEASE",
"21.04.1_RELEASE",
"20.10.1_RELEASE",
"20.04.3_RELEASE",
"21.04.0_RELEASE",
"20.10.0_RELEASE",
"20.04.2_RELEASE",
"20.04.1_RELEASE",
"20.04.0_RELEASE",
"20.04RC2_RELEASE",
"20.04RC1_RELEASE",
"1.8RC2_RELEASE",
"1.8RC1_RELEASE",
"1.7RC1_RELEASE",
"1.4.0ALPHA1_RELEASE",
"1.3.0BETA2_RELEASE",
"1.3.0BETA1_RELEASE",
"1.2.0ALPHA3_RELEASE",
"1.2.0ALPHA2_RELEASE",
"1.1.0BETA4_RELEASE",
"1.1.0BETA2_RELEASE",
"1.1.0ALPHA3_RELEASE",
"1.1.0ALPHA2_RELEASE",
"1.1.0ALPHA1_RELEASE",
"1.0.0BETA2_RELEASE",
"1.0.0ALPHA2_RELEASE",
"1.0.0ALPHA1_RELEASE"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40848.json"
}
}
],
"modified": "2026-10-24T10:30:55.241288765Z",
"provider": "osv",
"references": [
"https://bugs.launchpad.net/mahara/+bug/1930471",
"https://mahara.org/interaction/forum/topic.php?id=8950"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:mahara:mahara:21.10.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:mahara:mahara:21.10.0:rc2:*:*:*:*:*:*"
],
"vendor_product": "mahara:mahara",
"extracted_events": [
{
"range": [
{
"introduced": "21.10.0-rc1"
},
{
"last_affected": "21.10.0-rc1"
},
{
"introduced": "21.10.0-rc2"
},
{
"last_affected": "21.10.0-rc2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-40848",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438373,
"published_at": "2021-11-03T11:15:08.267+00:00"
}