{"id":"CVE-2018-18315","details":"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.","modified":"2026-07-08T16:26:45.894501Z","published":"2018-10-15T04:29:01.047Z","references":[{"type":"ADVISORY","url":"https://github.com/xuhuisheng/lemon/issues/175"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xuhuisheng/lemon","events":[{"introduced":"28e13a2d7434aedcf12a61a591a59365e17eb3b2"},{"last_affected":"28e13a2d7434aedcf12a61a591a59365e17eb3b2"}],"database_specific":{"cpe":"cpe:2.3:a:mossle:lemon:1.9.0:*:*:*:*:*:*:*","extracted_events":[{"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}