# YesWiki Vulnerable to Authenticated PHP Object Injection in BazarImportAction via unserialize

Critical severity, published 2026-07-09. Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.

Canonical URL: https://buzzphp.com/security/ghsa-9369-69wj-7m2f · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical |
| Published | 2026-07-09 |
| Updated | 2026-07-09 |
| CVE | [CVE-2026-52777](https://nvd.nist.gov/vuln/detail/CVE-2026-52777) |
| GHSA | [GHSA-9369-69wj-7m2f](https://github.com/advisories/GHSA-9369-69wj-7m2f) |
| Weakness | CWE-352, CWE-502 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| yeswiki/yeswiki | < 4.6.6 | 4.6.6 |

## What to do

Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.

Check which version you run with `composer show yeswiki/yeswiki`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-9369-69wj-7m2f on GitHub](https://github.com/advisories/GHSA-9369-69wj-7m2f)
- [CVE-2026-52777 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-52777)
- [All Composer security advisories](https://buzzphp.com/security)
