---
id: CVE-2026-104457
title: >-
  YesWiki before 4.6.7 contains an SQL injection vulnerability in the Bazar
  filtertags action, which wraps unescaped filterN attribute tokens in quotes
  and concatenates them into a raw tags.value IN (...) clause
summary: >-
  YesWiki before 4.6.7 contains an SQL injection vulnerability in the Bazar
  filtertags action, which wraps unescaped filterN attribute tokens in quotes
  and concatenates them into a raw tags.value IN (...) clause. Unauthenticated
  attackers …
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L'
cwe:
  - CWE-89
vendor: YesWiki
product: yeswiki
affected:
  - yeswiki < 4.6.7
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T12:17:17.767'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104457'
references:
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-p87r-f4x4-8r4g'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-sql-injection-via-filtertags-filtern-parameter
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-02T12:17:44.342Z'
---

## Overview

YesWiki before 4.6.7 contains an SQL injection vulnerability in the Bazar filtertags action, which wraps unescaped filterN attribute tokens in quotes and concatenates them into a raw tags.value IN (...) clause. Unauthenticated attackers on default installs can save filtertags markup in a page with a trailing-backslash token that breaks quote parity under MySQL backslash escaping. This lets them inject a five-column UNION subquery to read arbitrary table data such as password hashes.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
