CVE-2026-52774
MEDIUM 6.1CVSS 3.1YesWiki Vulnerable to Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes
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.
- Published
- 5 Sep 2026
- Last modified
- 8 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-80
- Also known as
- GHSA-r5xw-gcgw-hwp5
- Sources
- NVDJSONOSV GHSA-r5xw-gcgw-hwp5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | yeswiki/yeswiki | < 4.6.6 | 4.6.6 |
References
- https://github.com/YesWiki/yeswiki/commit/1aa2710c7505630b858f2142a65f9441bfaba2b2 · WEB
- https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5 · WEB
- https://github.com/YesWiki/yeswiki · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 5 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Jul 2026)