p PatchFirst

CVE-2026-52774

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.1 · Medium · EPSS 0.7% · Public exploit · Fix available

Published
Updated

Stack: php

Affected products and versions

  • yeswiki

    Versions
    • < 4.6.6: Affected

    No fix published

  • yeswiki/yeswiki Packagist

    Versions
    • 4.2.3
    • v4.1.0
    • v4.1.1
    • v4.1.2
    • v4.1.3
    • v4.1.4
    • v4.1.5
    • v4.2.0
    • v4.2.1
    • v4.2.2
    • v4.2.4
    • v4.3
    • v4.3.1
    • v4.4.0
    • v4.4.1
    • v4.4.2
    • v4.4.3
    • v4.4.4
    • v4.4.5
    • v4.5.0
    • v4.5.1
    • v4.5.2
    • v4.5.3
    • v4.5.4
    • v4.5.5
    • v4.6.0
    • v4.6.1
    • v4.6.2
    • v4.6.3
    • v4.6.4
    • v4.6.5
    Affected ranges
    • ECOSYSTEM: < 4.6.6

    Update to 4.6.6

Original sources

Check your server →