CVE-2026-120738: Organize Media Folder <= 2.00 - Authenticated (Subscriber+) Stored Cross-Site Scripting via EXIF 'DateTimeOriginal' Metadata
The Organize Media Folder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'EXIF.DateTimeOriginal' parameter in all versions up to, and including, 2.00 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This bypass of wpfilterpostkses means the injected payload survives regardless of the uploader's unfilteredhtml capability; Subscriber-level access becomes sufficient when a front-end attachment-upload integration such as bbPress with forumAttachments is active, and exploitation requires no special configuration because the %createdtimestamp% placeholder is included in the caption template by default. Exploitation by attackers with subscriber-level access and above requires that bbPress and gd-bbpress-attachments (forumAttachments) are installed and configured so that Subscribers/Participants can post attachments through a frontend forum form. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
Affected Software
Event History
Frequently Asked Questions
Which users can exploit this in a typical WordPress installation?
Subscriber-level users can exploit it only when bbPress and gd-bbpress-attachments (forumAttachments) are installed and configured to let Subscribers or Participants post attachments through a front-end forum form. Without that front-end attachment configuration, the supplied data indicates attacker access must be at the author level.
What must an attacker provide to trigger the issue?
The attacker needs to upload an attachment containing a malicious value in its EXIF DateTimeOriginal metadata. The payload is stored in the generated caption and executes when a user accesses a page containing the injected content.
Does the uploader need the WordPress unfiltered_html capability?
No. The issue bypasses wp_filter_post_kses, so the malicious payload can persist regardless of whether the uploader has unfiltered_html capability.
Is a customized caption template needed for exploitation?
No. The %created_timestamp% placeholder is included in the caption template by default, so no special caption-template configuration is required.