# CVE-2022-0377: LearnPress < 4.1.5 - Arbitrary Image Renaming

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.21%, higher than 88% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-02-28T09:06:50.000Z
- Modified: 2026-06-17T04:20:29.390Z
- Weaknesses: CWE-327
- Assigned by: WPScan

## Description

Users of the LearnPress WordPress plugin before 4.1.5 can upload an image as a profile avatar after the registration.  After this process the user crops and saves the image. Then a "POST" request that contains user supplied name of the image is sent to the server for renaming and cropping of the image. As a result of this request, the name of the user-supplied image is changed with a MD5 value. This process can be conducted only when type of the image is JPG or PNG. An attacker can use this vulnerability in order to rename an arbitrary image file. By doing this, they could destroy the design of the web site.

(As written by CVE List.)

## Affected

- Unknown LearnPress: before 4.1.5
- thimpress learnpress: before 4.1.5

## Every score

- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/> (exploit, third-party-advisory)
- <https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-0377](https://www.cve.org/CVERecord?id=CVE-2022-0377), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0377](https://nvd.nist.gov/vuln/detail/CVE-2022-0377), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0377 · Whole record: https://cve.day/CVE-2022-0377.json · Rebuilt by cve.day 2026-11-25T22:58:09.862Z
