CVE-2022-4060User Post Gallery Command Injection
The User Post Gallery WordPress plugin through 2.19 does not limit what callback functions can be called by users, making it possible to any visitors to run code on sites running it.
Published Jan 16, 2023 · Updated Apr 4, 2025 · Also known as 19c370f1-322b-4c35-b100-244547373e1a, WORDFENCE-19c370f1-322b-4c35-b100-244547373e1a
Key Facts
Patch immediately- CVE-2022-4060 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting User Post Gallery (Odude), wp-upg (wordpress-plugin).
- It is exploited in the wild, listed in Industry KEV feed since Dec 26, 2022. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 43% probability of exploitation in the next 30 days.
- Fixed versions are available, including User Post Gallery <=2.19, User Post Gallery 2.19.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
43%
Higher than 98.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
56/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Dec 26, 2022
-21 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Description
The User Post Gallery WordPress plugin through 2.19 does not limit what callback functions can be called by users, making it possible to any visitors to run code on sites running it.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Dec 26, 2022 | n/a | Not reported |
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| User Post GalleryOdude | See advisory | 2.19 |
| wp-upgwordpress-plugin | >= 2.19 | n/a |
Patched Releases
User Post Gallery
<=2.19
Timeline
Added to Industry KEV feed
Dec 26, 2022
Publicly disclosed
Jan 16, 2023
Last updated
Apr 4, 2025
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
FAQ
Common Questions.
The User Post Gallery WordPress plugin through 2.19 does not limit what callback functions can be called by users, making it possible to any visitors to run code on sites running it.
Affected: User Post Gallery (Odude); wp-upg (wordpress-plugin) versions >= 2.19. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Dec 26, 2022.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including User Post Gallery <=2.19, User Post Gallery 2.19.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-4060 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo