Skip to content
On CISA KEVCritical

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

CatalogAddedRemediation dueRansomware use
Industry KEV feedDec 26, 2022n/aNot reported

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
User Post GalleryOdudeSee advisory2.19
wp-upgwordpress-plugin>= 2.19n/a

Patched Releases

User Post Gallery

<=2.19

Timeline

  1. Added to Industry KEV feed

    Dec 26, 2022

  2. Publicly disclosed

    Jan 16, 2023

  3. Last updated

    Apr 4, 2025

Weakness Type

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

FAQ

Common Questions.

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

More vulnerabilities

Figures as of Oct 23, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.