Quick answers
- Is CVE-2026-52772 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-52772 being exploited in the wild.
- How severe is CVE-2026-52772?
- Medium severity, with a CVSS score of 5.5, published 5 September 2026.
- Which products and versions are affected?
- yeswiki/yeswiki (Packagist) < 4.6.6, ECOSYSTEM:introduced=0,fixed=4.6.6; YesWiki < 4.6.6.
- Is there a fix for CVE-2026-52772?
- Yes. yeswiki/yeswiki (Packagist): upgrade to 4.6.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-52772 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-52772?
- Check whether you run yeswiki/yeswiki (Packagist) or YesWiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- yeswiki/yeswiki (Packagist): upgrade to 4.6.6 or later
composer require yeswiki/yeswiki:^4.6.6
Technical details
A stored XSS vulnerability exists in YesWiki's Bazar component due to the use of the Twig `|raw` and `|raw('html')` filters on user-controlled `field.label` and `field.hint` variables. While a partial fix was previously implemented, several templates (including base layouts like `layouts/input.twig`) remain affected. The vulnerability occurs in three contexts: attribute breakout in placeholders, tooltip injection in `title`/`alt` attributes, and direct DOM injection in label bodies. An attacker with `saisie_formulaire` permissions (typically admins) can inject arbitrary JavaScript. The issue is exacerbated by `BazarField.php` using `html_entity_decode` on labels, which bypasses standard entity-encoding mitigations. The vulnerability was patched in version 4.6.6 by removing the `raw` filters to allow Twig's auto-escaping to function correctly.
Affected products
- YesWiki YesWiki < 4.6.6
Identifiers
- CVE-2026-52772
- GHSA-xc7j-3g8q-9vh4
Timeline
- 2026-05-19: other: Partial fix attempted in commit e6b66aa
- 2026-06-02: advisory: GitHub Advisory published
- 2026-07-09: patched: Vulnerability confirmed patched in version 4.6.6