---
id: CVE-2026-52774
title: YesWiki is a wiki system written in PHP
summary: >-
  YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki's
  Bazar widget handler reflects the id GET parameter into HTML attributes using
  strip_tags() only. Because strip_tags() does not escape double quotes, an
  attacker c…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-80
vendor: YesWiki
product: yeswiki
affected:
  - yeswiki < 4.6.6
patched:
  - yeswiki/yeswiki 4.6.6
published: '2026-09-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T21:05:26.920'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-52774'
references:
  - url: >-
      https://github.com/YesWiki/yeswiki/commit/1aa2710c7505630b858f2142a65f9441bfaba2b2
    label: security-advisories@github.com
  - url: 'https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6'
    label: security-advisories@github.com
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5'
    label: security-advisories@github.com
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-r5xw-gcgw-hwp5'
tags:
  - nvd
  - exploit-available
  - cve.org
  - ghsa
  - composer
epss: 0.00658
epssPercentile: 0.49377
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/0xTerror/CVE-2026-52774-YESWIKI-XSS'
  nuclei:
    - CVE-2026-52774
  checkedAt: '2026-09-26T09:05:48.061Z'
exploitAvailable: true
aliases:
  - GHSA-r5xw-gcgw-hwp5
ecosystem: composer
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-08T13:05:12.683472Z'
ingestedAt: '2026-07-09T21:52:34.670Z'
---

## Overview

YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki's Bazar widget handler reflects the id GET parameter into HTML attributes using strip_tags() only. Because strip_tags() does not escape double quotes, an attacker can break out of the attribute value, inject an event handler such as onmouseover, and execute arbitrary JavaScript in the victim's browser. This issue is reachable without authentication. During validation, the vulnerable widget route returned the injected HTML for both /HomePage/widget?id=... and /NoSuchPage/widget?id=..., which shows that no login, no page ownership, no edit rights, and not even a valid page tag were required. The only routing prerequisite observed was that the Bazar extension is enabled and the request includes an id parameter. This issue has been patched in version 4.6.6.

## Remediation

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

## Package advisory (CVE-2026-52774)

Affected packages:

- `yeswiki/yeswiki < 4.6.6`

Patched in:

- `yeswiki/yeswiki 4.6.6`

Source: https://github.com/advisories/GHSA-r5xw-gcgw-hwp5
