CVE-2022-4063: pluginus inpost_gallery Path Traversal
CVSS: 9.8v3.1CriticalModified
Published 19-12-2022Last modified 17-04-2025
Vulnerability summary
CVE-2022-4063 is a critical (CVSS 9.8) Path Traversal vulnerability in pluginus inpost_gallery. EPSS estimates a 10.18% chance of exploitation in the next 30 days, higher than 95.6% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)EPSS score
10.18%
0%100%
Medium · +0.66 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Timeline
- 19-12-2022PublishedVulnerability first disclosed.
- 17-04-2025Last modifiedVulnerability information updated.
Description
The InPost Gallery WordPress plugin before 2.1.4.1 insecurely uses PHP's extract() function when rendering HTML views, allowing attackers to force the inclusion of malicious files & URLs, which may enable them to run code on servers.
CVSS metrics
3 scores · 3 sources · 1 versionCritical 9.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- wordfenceSource9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
10.18%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
+0.66 pp
From 9.52% on 21-09-2026
21-09-202621-10-2026
EPSS score10.18%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-98Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
Affected systems
Pluginus1 product
- inpost_gallery< 2.1.4.1
Unknown1 product
- inpost gallery< 2.1.4.1
Wordpress1 product
- inpost-gallery≤ 2.1.4 (fixed in 2.1.4.1)
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7ExploitVDB EntryTechnical DescriptionThird Party Advisory