YesWiki Vulnerable to Authenticated PHP Object Injection in BazarImportAction via unserialize
Critical severity. Published 9 July 2026. Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| yeswiki/yeswiki (opens in a new tab) | < 4.6.6 | 4.6.6 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show yeswiki/yeswiki
composer auditAdvisory details
| Severity | Critical |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-52777 (opens in a new tab) |
| GHSA | GHSA-9369-69wj-7m2f (opens in a new tab) |
| Weakness | CWE-352, CWE-502 |
What the advisory says
Details
Sink
tools/bazar/services/CSVManager.php line 372-399:
There is no ['allowedclasses' = false] argument; arbitrary classes are instantiated. The subsequent arraymap('strval', $entry) additionally exercises toString on each top-level array element, doubling the magic-method surface available to a gadget chain.
Source
tools/bazar/actions/BazarImportAction.php:
$POST['importfiche'] flows directly to the sink. The mode switches to 'importentries' whenever the request body contains the key, so an attacker need only POST importfiche[0]=.
Reachability
1. The action is registered as bazarimport.
Source: GHSA-9369-69wj-7m2f (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- YesWiki has stored XSS in Bazar form-field templates via unescaped field.label / field.hint (|raw('html')) (opens in a new tab) (medium, 9 July 2026)
- YesWiki has Unauthenticated Server-Side Request Forgery via ActivityPub `Signature.keyId` (high, 9 July 2026)
- YesWiki Vulnerable to Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes (opens in a new tab) (medium, 9 July 2026)
- YesWiki: SQL Injection possible through public Bazar entry-listing APIs via numeric `query`/`queries` filters (high, 9 July 2026)
- YesWiki has Unsafe eval() in its Formula Calculato, Leading to Remote Code Execution & Denial of Service (critical, 9 July 2026)