Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/YesWiki/yeswiki/commit/1aa2710c7505630b858f2142a65f9441bfaba2
- https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5
FAQ
What is CVE-2026-52774?
CVE-2026-52774 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 no...
How severe is CVE-2026-52774?
CVE-2026-52774 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-52774?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.