{"schemaVersion":3,"id":"CVE-2021-24970","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The All-in-One Video Gallery WordPress plugin before 2.5.0 does not sanitise and validate the tab parameter before using it in a require statement in the admin dashboard, leading to a Local File Inclusion issue","dates":{"published":"2021-12-13T10:41:31.000Z","modified":"2024-08-03T19:49:14.106Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05013,"percentile":0.92167,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.8849999999999997,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.05898},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05013,"percentile":0.92167}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05898,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05013,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05013,"percentile":0.92167}]},"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_2074A6F013EA817B","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/9b15d47e-43b6-49a8-b2c3-b99c92101e10","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":"plugins360","product":"all-in-one_video_gallery","name":"all-in-one video gallery","label":"all-in-one_video_gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.0","eol":null,"hubHref":"/vendor/plugins360/all-in-one_video_gallery"},{"vendor":"unknown","product":"all-in-one video gallery","name":"All-in-One Video Gallery","label":"all-in-one video gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.5.0, < 2.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.5.0, < 2.5.0","eol":null,"hubHref":"/vendor/unknown/all-in-one_video_gallery"},{"vendor":"wordpress","product":"all-in-one-video-gallery","name":"All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos","label":"all-in-one-video-gallery","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.4.9 (fixed in 2.5.0)","noFixRecorded":false,"fixedIn":"2.5.0"}],"versionsText":"≤ 2.4.9 (fixed in 2.5.0)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/9b15d47e-43b6-49a8-b2c3-b99c92101e10","label":"wpscan.com/vulnerability/9b15d47e-43b6-49a8-b2c3-b99c92101e10","hostname":"wpscan.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/8f840a96-8cda-4237-b445-284b88eaf623","label":"www.wordfence.com/threat-intel/vulnerabilities/id/8f840a96-8cda-4237-b445-284b88eaf623","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-12-13T10:41:31.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:49:14.106Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:32:14.263Z","stale":false,"partial":false}}