CWE-73Weakness · CWE-73

CVE-2025-13322

HIGH · 8.1 CVSS v3.1 Published 2025-11-21
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
87/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The WP AUDIO GALLERY plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in all versions up to, and including, 2.0. This is due to the `wpag_uploadaudio_callback()` AJAX handler not properly validating user-supplied file paths in the `audio_upload` parameter before passing them to `unlink()`. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when critical files like wp-config.php are deleted.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The WP AUDIO GALLERY plugin for WordPress contains an arbitrary file deletion vulnerability in the `wpag_uploadaudio_callback()` AJAX handler. The `audio_upload` parameter is passed directly to PHP's `unlink()` function without sanitization, allowing authenticated users with subscriber-level permissions or higher to delete any file accessible to the web server process.

MitigationUpdate to a patched version of the plugin when available. Until then, disable the plugin or implement access controls to prevent subscriber-level users from accessing the affected AJAX endpoint.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify WP AUDIO GALLERY plugin is installed
    Log into WordPress admin panel and navigate to Plugins > Installed Plugins, or inspect the filesystem at /wp-content/plugins/ for a folder named 'wp-audio-gallery', 'wp-audio-gallery-lite', or similar variants containing 'audio' and 'gallery' in the name.
    Affected if The plugin folder exists in the WordPress plugins directory and is listed as active in the WordPress options table.
  2. Identify the installed plugin version
    In WordPress admin, go to Plugins and click 'View Details' on the WP AUDIO GALLERY plugin to display the version number, or open the main plugin PHP file (usually named plugin-name.php) and look for the 'Version' header in the plugin comments.
    Affected if The displayed version is unknown or falls within any unpatched version range (the vulnerability exists in versions prior to vendor patching).
  3. Locate the vulnerable AJAX handler
    Search the plugin directory for the file containing 'wpag_uploadaudio_callback' function definition, then inspect that function for usage of the 'audio_upload' parameter passed directly to unlink() without sanitization.
    Affected if The function 'wpag_uploadaudio_callback' exists in the plugin files and contains a direct unlink() call using the audio_upload parameter without sanitize_file_name(), wp_unslash(), or similar validation.
  4. Confirm subscriber-level access to AJAX endpoint
    In WordPress admin under Users > Roles and Capabilities, verify that the 'Subscriber' role has access to the plugin's AJAX actions, or inspect the plugin code for add_action() calls registering 'wp_ajax_wpag_uploadaudio_callback' without a capability check or with 'read' capability.
    Affected if The AJAX endpoint is registered with no capability requirement or with 'read' capability, making it accessible to any authenticated user including subscribers.
  5. Test if the vulnerable parameter is processed
    Send an authenticated AJAX POST request to /wp-admin/admin-ajax.php with action=wpag_uploadaudio_callback and audio_upload parameter pointing to a test file, observing whether the file is deleted.
    Affected if The AJAX endpoint responds and the specified file is deleted, confirming the parameter is processed by unlink() without validation.

If the WP AUDIO GALLERY plugin is active, the vulnerable wpag_uploadaudio_callback function exists with unsanitized audio_upload parameter, and subscriber-level users can access the AJAX endpoint, then the environment is affected by CVE-2025-13322.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Update to a patched version of the plugin when available. Until then, disable the plugin or implement access controls to prevent subscriber-level users from accessing the affected AJAX endpoint.

Recommended fix Moderate confidence

Latest available version (beyond 2.0)

  1. Navigate to Plugins > Installed Plugins in the WordPress admin dashboard
  2. Locate the WP AUDIO GALLERY plugin
  3. Check if an update is available and update to the latest version
  4. If no update is available, consider temporarily disabling the plugin until a patched version is released
  5. Alternatively, deauthorize or remove subscriber-level user accounts if not needed
  6. Monitor plugin vendor channels for security updates

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,570
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-13322 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-13322 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data