LearnPress < 4.1.5 - Arbitrary Image Renaming
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-0377
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:14 UTC · Revision 1
Source evidence
LearnPress < 4.1.5 - Arbitrary Image Renaming
core-osv · Original sourcePublished 28 Feb 2022, 09:06 UTC
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.
osv:CVE-2022-0377
Complete source record
{
"id": "e54ac69169a0695c4f23806b39b262b2a92a91b4ef51dd0719107696c89c6bd9",
"url": "https://osv.dev/vulnerability/CVE-2022-0377",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LearnPress < 4.1.5 - Arbitrary Image Renaming",
"summary": "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.",
"evidence": "osv:CVE-2022-0377",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2022-0377",
"aliases": [
"CVE-2022-0377"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/learnpress/learnpress",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d1dc4af7ef2950f1000abc21bd9520fb3eb98faf"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "d1dc4af7ef2950f1000abc21bd9520fb3eb98faf"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.1.0",
"2.0.9",
"2.0.6",
"2.0.0-beta.1",
"v1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0377.json"
}
}
],
"modified": "2026-10-28T02:30:39.328412848Z",
"provider": "osv",
"references": [
"https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/",
"https://wordpress.org/plugins",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0377.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-0377",
"https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf",
"https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26"
],
"provider_metadata": {
"cna_assigner": "WPScan",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "4.1.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "4.1.5"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0377.json"
}
},
"related_cves": [
{
"value": "CVE-2022-0377",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 506561,
"published_at": "2022-02-28T09:06:50+00:00"
}