{"id":"CVE-2022-4140","published":"2023-01-02T21:49:12Z","modified":"2025-04-10T19:11:34Z","title":"Welcart e-Commerce < 2.8.5 - Unauthenticated Arbitrary File Access","vendor":null,"product":"Welcart e-Commerce","tier":"tail","description":{"text":"The Welcart e-Commerce WordPress plugin before 2.8.5 does not validate user input before using it to output the content of a file, which could allow unauthenticated attacker to read arbitrary files on the server","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.10576,"percentile":0.95893,"provenance":"source"},"cwes":[],"references":[{"url":"https://wpscan.com/vulnerability/0d649a7e-3334-48f7-abca-fff0856e12c7","tags":["exploit","vdb-entry","technical-description"]}],"priority":{"score":29.4,"factors":[{"name":"EPSS percentile","points":19.18},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-07","earliestUrl":"https://github.com/anirbala98/CVE-2022-4140","repos":[{"name":"anirbala98/CVE-2022-4140","url":"https://github.com/anirbala98/CVE-2022-4140","stars":1,"created":"2026-09-07"}]},"metasploit":[{"name":"WordPress Welcart e-Commerce Arbitrary File Read (CVE-2022-4140)","module":"auxiliary/gather/wp_welcart_fileread_cve_2022_4140","type":"auxiliary","disclosureDate":"2022-12-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/wp_welcart_fileread_cve_2022_4140.rb"}],"nuclei":[{"id":"CVE-2022-4140","name":"WordPress Welcart e-Commerce <2.8.5 - Arbitrary File Access","severity":"high","path":"http/cves/2022/CVE-2022-4140.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4140.yaml"}],"first":{"date":"2022-12-05","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/wp_welcart_fileread_cve_2022_4140.rb"},"provenance":"source"},"affectedVersions":[{"vendor":"Unknown","product":"Welcart e-Commerce","versions":["< 2.8.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-10T19:11:04.329562Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Welcart e-Commerce WordPress plugin, before version 2.8.5, fails to validate user input before using it to output a file's contents. An unauthenticated attacker with network access can exploit this without user interaction to read arbitrary files on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:00Z"},"euvd":{"id":"EUVD-2022-51502","exploited":false,"provenance":"source"},"exploitRefs":["https://wpscan.com/vulnerability/0d649a7e-3334-48f7-abca-fff0856e12c7"]}