High
Security advisory
com/mossle/cdn/CdnController.java in lemon 1.9.0 allows attackers to upload arbitrary files because the copyMultipartFileToFile method in CdnUtils only checks for a ../ substring, and does not validate the file type and spaceName parameter.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-18315
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:43 UTC · Revision 1
Source evidence
com/mossle/cdn/CdnController.java in lemon 1.9.0 allows attackers to upload arbitrary files because the copyMultipartFileToFile method in CdnUtils only checks for a ../ substring, and does not validate the file type and spaceName parameter.
osv:CVE-2018-18315
Complete source record
{
"id": "83b5dbded9e0ace12648d41bbc181d4487a28f96401d5b30ac6734885ff5bc2a",
"url": "https://osv.dev/vulnerability/CVE-2018-18315",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-18315",
"summary": "com/mossle/cdn/CdnController.java in lemon 1.9.0 allows attackers to upload arbitrary files because the copyMultipartFileToFile method in CdnUtils only checks for a ../ substring, and does not validate the file type and spaceName parameter.",
"evidence": "osv:CVE-2018-18315",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-18315",
"aliases": [
"CVE-2018-18315"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/xuhuisheng/lemon",
"type": "GIT",
"events": [
{
"introduced": "28e13a2d7434aedcf12a61a591a59365e17eb3b2"
},
{
"last_affected": "28e13a2d7434aedcf12a61a591a59365e17eb3b2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mossle:lemon:1.9.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.0"
},
{
"last_affected": "1.9.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.9.0",
"lemon-1.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18315.json"
}
}
],
"modified": "2026-10-20T10:51:34.607277009Z",
"provider": "osv",
"references": [
"https://github.com/xuhuisheng/lemon/issues/175"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-18315",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382588,
"published_at": "2018-10-15T04:29:01.047+00:00"
}