Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes in YesWiki
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-80.
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 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| YesWiki | yeswiki | before 4.6.6 | 4.6.6 | Patch available | CNA |
| — | yeswiki/yeswiki (Packagist) | before 4.6.6 | 4.6.6 | Patch available | GHSA-r5xw-gcgw-hwp5 |
- yeswiki VendorYesWiki Affected before 4.6.6 Fixed in 4.6.6 Patch available CNA
- yeswiki/yeswiki (Packagist) Vendor— Affected before 4.6.6 Fixed in 4.6.6 Patch available GHSA-r5xw-gcgw-hwp5
Remediation
- Fix · CNA yeswiki (YesWiki) Fixed in 4.6.6
- Fix · GHSA-r5xw-gcgw-hwp5 yeswiki/yeswiki (Packagist) Fixed in 4.6.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-52774
- 2026-10-03 Alias added: GHSA-r5xw-gcgw-hwp5
- 2026-10-09 EPSS moved to the 50th–90th percentile
References
More YesWiki vulnerabilities
- TI-2026-37893 YesWiki has Unsafe eval() in Formula Calculator - Remote Code Execution (RCE) & Denial of Service (DoS) CVSS 3.1CRITICAL 9.8
- TI-2026-34305 YesWiki: Unauthenticated SQL Injection CVSS 3.1CRITICAL 9.8
- TI-2025-29089 YesWiki Vulnerable to Unauthenticated Site Backup Creation and Download CVSS 3.1CRITICAL 10.0
- TI-2024-34399 Use of a Broken or Risky Cryptographic Algorithm in YesWiki CVSS 3.1CRITICAL 9.9
- TI-2026-37882 YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action CVSS 3.1CRITICAL 9.1
- TI-2026-80227 SQL injection in YesWiki Bazar entry creation via date_maj_fiche CVSS 4.0HIGH 8.8
Sources
- CVE-2026-52774 · CVE Program
- CVE-2026-52774 · NVD
- FIRST EPSS
- GHSA-r5xw-gcgw-hwp5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences