{"schemaVersion":3,"id":"CVE-2022-4063","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-12-19T13:41:37.739Z","modified":"2025-04-17T14:01:03.199Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.10177,"percentile":0.95654,"severity":"medium","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.6580000000000003,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.09519},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.10177,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.10177,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.10177,"percentile":0.95654}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.09519,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.09617,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.10177,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.10177,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.10177,"percentile":0.95654}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F53B2E13020A3917","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","description":"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.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/98.html"}],"affected":[{"vendor":"pluginus","product":"inpost_gallery","name":"inpost gallery","label":"inpost_gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.4.1","eol":null,"hubHref":"/vendor/pluginus/inpost_gallery"},{"vendor":"unknown","product":"inpost gallery","name":"InPost Gallery","label":"inpost gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.4.1","eol":null,"hubHref":"/vendor/unknown/inpost_gallery"},{"vendor":"wordpress","product":"inpost-gallery","name":"InPost Gallery","label":"inpost-gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.1.4 (fixed in 2.1.4.1)","noFixRecorded":false,"fixedIn":"2.1.4.1"}],"versionsText":"≤ 2.1.4 (fixed in 2.1.4.1)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7","label":"wpscan.com/vulnerability/6bb07ec1-f1aa-4f4b-9717-c92f651a90a7","hostname":"wpscan.com","tags":["Exploit","VDB Entry","Technical Description","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/2c7a0b51-6626-449f-95f5-74c4847909de","label":"www.wordfence.com/threat-intel/vulnerabilities/id/2c7a0b51-6626-449f-95f5-74c4847909de","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-19T13:41:37.739Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-17T14:01:03.199Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T07:30:40.873Z","stale":false,"partial":false}}