Skip to content
OpenAdvisories
Critical · 9.8 Scanner template Public exploit CVE-2022-4060 EUVD-2022-51437GHSA-g823-9xxv-px4q

User Post Gallery <= 2.19 - Unauthenticated RCE

Published Jan 16, 2023 · Updated Apr 4, 2025 · Assigned by WPScan

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.

Affected products

VendorProductAffectedFixed
— User Post Gallery ≤ 2.19 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • im-hanzou/UPGer ★ 8 · Sep 15, 2023

    Automatic Mass Tool for checking vulnerability in CVE-2022-4060 - WordPress Plugin : User Post Gallery <= 2.19 - Unauthenticated RCE

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

References