# CVE-2026-52774: Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes in YesWiki

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T21:01:10.000Z
- Modified: 2026-09-08T21:05:26.920Z
- Also known as: GHSA-r5xw-gcgw-hwp5
- Weaknesses: CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- YesWiki yeswiki: < 4.6.6
- yeswiki/yeswiki (Packagist): before 4.6.6

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5> (exploit, web)
- <https://github.com/YesWiki/yeswiki/commit/1aa2710c7505630b858f2142a65f9441bfaba2b2> (web)
- <https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6>
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

- CVE List: [CVE-2026-52774](https://www.cve.org/CVERecord?id=CVE-2026-52774), CVE Terms of Use, modified 2026-09-08
- GitHub Advisory Database: [GHSA-r5xw-gcgw-hwp5](https://github.com/advisories/GHSA-r5xw-gcgw-hwp5), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-52774](https://nvd.nist.gov/vuln/detail/CVE-2026-52774), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-52774 · Whole record: https://cve.day/CVE-2026-52774.json · Rebuilt by cve.day 2026-11-25T22:59:36.421Z
