The OMGF Pro plugin for WordPress is vulnerable to Unrestricted File Type Upload in all versions up to, and including, 5.2.6. This is due to the ExternalStylesheets::optimize() method extracting attacker-controlled @import URLs from the rendered HTML, fetching their contents via wp_remote_get(), and writing those contents to disk via file_put_contents() at a path derived directly from the attacker-controlled URL host/path — with no file-extension allowlist, MIME check, or capability/nonce gate on the omgf_optimize and omgf_pro_auto_config GET parameters that trigger the pipeline. This makes it possible for unauthenticated attackers to upload arbitrary files (including PHP) into the uploads directory on the affected site's server which makes remote code execution possible.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.