{"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-03-14T09:28:44.970987Z","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":"0"},{"last_affected":"28e13a2d7434aedcf12a61a591a59365e17eb3b2"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.9.0"}]}}],"versions":["lemon-0.8.0","lemon-0.9.0","lemon-1.0.0","lemon-1.0.1","lemon-1.1.0","lemon-1.2.0","lemon-1.3.0","lemon-1.3.1","lemon-1.4.0","lemon-1.5.0","lemon-1.5.1","lemon-1.6.0","lemon-1.6.1","lemon-1.7.0","lemon-1.8.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"}]}