---
id: CVE-2025-12973
title: >-
  The S2B AI Assistant – ChatBot, ChatGPT, OpenAI, Content & Image Generator
  plugin for WordPress is vulnerable to arbitrary file uploads due to missing
  file type validation in the storeFile() function in all versions up to, and
  including,…
summary: >-
  The S2B AI Assistant – ChatBot, ChatGPT, OpenAI, Content & Image Generator
  plugin for WordPress is vulnerable to arbitrary file uploads due to missing
  file type validation in the storeFile() function in all versions up to, and
  including,…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-434
published: '2025-11-21'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T10:10:00.227'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12973'
references:
  - url: 'https://github.com/d0n601/CVE-2025-12973'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/s2b-ai-assistant/trunk/lib/helpers/Utils.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3399267%40s2b-ai-assistant&new=3399267%40s2b-ai-assistant&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: 'https://ryankozak.com/posts/cve-2025-12973/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/ac9d2b64-aff6-418a-bfe7-ec91b177ad6b?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - exploit-available
epss: 0.00932
epssPercentile: 0.59464
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/d0n601/CVE-2025-12973'
  checkedAt: '2026-10-08T10:29:02.606Z'
exploitAvailable: true
ingestedAt: '2026-10-08T10:28:20.230Z'
---

## Overview

The S2B AI Assistant – ChatBot, ChatGPT, OpenAI, Content & Image Generator plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the storeFile() function in all versions up to, and including, 1.7.8. This makes it possible for authenticated attackers, with Editor-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.
