---
id: CVE-2025-12673
title: >-
  The Flex QR Code Generator plugin for WordPress is vulnerable to arbitrary
  file uploads due to missing file type validation in the update_qr_code()
  function in all versions up to, and including, 1.2.7
summary: >-
  The Flex QR Code Generator plugin for WordPress is vulnerable to arbitrary
  file uploads due to missing file type validation in the update_qr_code()
  function in all versions up to, and including, 1.2.7. This makes it possible
  for unauthen…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/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-12673'
references:
  - url: 'https://github.com/d0n601/CVE-2025-12673'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/flex-qr-code-generator/trunk/qr-code-generator.php#L457
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3412218'
    label: security@wordfence.com
  - url: 'https://ryankozak.com/posts/cve-2025-12673/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/3d71404e-0db8-485b-a626-5e0df2076c05?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - exploit-available
epss: 0.00734
epssPercentile: 0.54197
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/d0n601/CVE-2025-12673'
  checkedAt: '2026-10-27T18:12:44.906Z'
exploitAvailable: true
ingestedAt: '2026-10-27T18:12:09.286Z'
---

## Overview

The Flex QR Code Generator plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the update_qr_code() function in all versions up to, and including, 1.2.7. This makes it possible for unauthenticated attackers 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.
