---
id: CVE-2025-12966
title: >-
  The All-in-One Video Gallery plugin for WordPress is vulnerable to arbitrary
  file uploads due to missing file type validation in the
  resolve_import_directory() function in versions 4.5.4 to 4.5.7
summary: >-
  The All-in-One Video Gallery plugin for WordPress is vulnerable to arbitrary
  file uploads due to missing file type validation in the
  resolve_import_directory() function in versions 4.5.4 to 4.5.7. This makes it
  possible for authenticated…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
published: '2025-12-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T20:10:00.197'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12966'
references:
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3405593/all-in-one-video-gallery/trunk/admin/import-export.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/0b03bca1-84e3-4220-b39b-69044c42e9f9?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00519
epssPercentile: 0.4395
ingestedAt: '2026-10-27T18:12:09.296Z'
---

## Overview

The All-in-One Video Gallery plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the resolve_import_directory() function in versions 4.5.4 to 4.5.7. This makes it possible for authenticated attackers, with Author-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
