{"id":"CVE-2026-52774","published":"2026-09-04T23:51:19Z","modified":"2026-09-08T13:05:30Z","title":"Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes in YesWiki","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00658,"percentile":0.46307,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-r5xw-gcgw-hwp5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/1aa2710c7505630b858f2142a65f9441bfaba2b2","tags":["x_refsource_MISC"]},{"url":"https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":9.26},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-05","earliestUrl":"https://github.com/0xTerror/CVE-2026-52774-YESWIKI-XSS","repos":[{"name":"0xTerror/CVE-2026-52774-YESWIKI-XSS","url":"https://github.com/0xTerror/CVE-2026-52774-YESWIKI-XSS","stars":1,"created":"2026-09-05"}]},"nuclei":[{"id":"CVE-2026-52774","name":"YesWiki Bazar Widget - Reflected XSS via 'id' Parameter","severity":"medium","path":"http/cves/2026/CVE-2026-52774.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-52774.yaml"}],"first":{"date":"2026-09-05","source":"PoC-in-GitHub","url":"https://github.com/0xTerror/CVE-2026-52774-YESWIKI-XSS"},"provenance":"source"},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-08T13:05:12.683472Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.6.6"],"patched":["4.6.6"],"from":["GHSA-r5xw-gcgw-hwp5"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw exists in the Bazar widget handler of YesWiki (product yeswiki), where the id GET parameter is reflected into HTML attributes after only strip_tags() filtering, which does not escape double quotes. An attacker who can get a victim to open a crafted link can break out of the attribute and run arbitrary JavaScript in the victim's browser, and the route is reachable without authentication, provided the Bazar extension is enabled and the request includes an id parameter, with the victim needing to interact with the page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:57Z"},"euvd":{"id":"EUVD-2026-71806","exploited":false,"provenance":"source"}}