GHSA-9369-69wj-7m2f: YesWiki Vulnerable to Authenticated PHP Object Injection in BazarImportAction via unserialize
YesWiki versions prior to 4.6.6 contain an authenticated PHP object injection vulnerability in the BazarImportAction component. The vulnerability arises from unsafe use of unserialize() on attacker-controlled input without restricting allowed classes, combined with automatic invocation of __toString magic methods. This allows authenticated wiki admins to execute arbitrary PHP object deserialization, potentially leading to remote code execution via known gadget chains in included dependencies. The import action lacks CSRF protection, enabling remote attackers to exploit the vulnerability through crafted POST requests that trigger the unserialize sink. No official patch information is provided in the advisory.
AI Analysis
Technical Summary
The vulnerability exists in YesWiki's tools/bazar/services/CSVManager.php in the importEntry method, which unserializes base64-decoded user input from the POST parameter 'importfiche' without restricting allowed classes. This leads to PHP object injection with magic method execution (notably __toString) on each array element. The import action is accessible only to authenticated wiki admins but lacks CSRF token verification, allowing remote exploitation via crafted POST requests that auto-execute upon admin session. The presence of doctrine/annotations and doctrine/cache dependencies with known PHPGGC gadget chains enables potential remote code execution. The vulnerability is reachable on default installs without additional configuration. No patch or official remediation is currently documented.
Potential Impact
An attacker who can trick a wiki administrator into submitting a specially crafted POST request can achieve arbitrary PHP object injection, leading to remote code execution on the server hosting YesWiki. This is due to unsafe unserialize usage combined with exploitable gadget chains in bundled dependencies. The lack of CSRF protection on the import action facilitates remote exploitation despite admin-only access controls. Successful exploitation compromises the confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the BazarImportAction to trusted administrators only and avoid exposing the import functionality to untrusted networks. Consider disabling or restricting the 'bazarimport' action if possible. Monitor for vendor updates addressing this vulnerability and apply official patches promptly once available.
GHSA-9369-69wj-7m2f: YesWiki Vulnerable to Authenticated PHP Object Injection in BazarImportAction via unserialize
Description
YesWiki versions prior to 4.6.6 contain an authenticated PHP object injection vulnerability in the BazarImportAction component. The vulnerability arises from unsafe use of unserialize() on attacker-controlled input without restricting allowed classes, combined with automatic invocation of __toString magic methods. This allows authenticated wiki admins to execute arbitrary PHP object deserialization, potentially leading to remote code execution via known gadget chains in included dependencies. The import action lacks CSRF protection, enabling remote attackers to exploit the vulnerability through crafted POST requests that trigger the unserialize sink. No official patch information is provided in the advisory.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in YesWiki's tools/bazar/services/CSVManager.php in the importEntry method, which unserializes base64-decoded user input from the POST parameter 'importfiche' without restricting allowed classes. This leads to PHP object injection with magic method execution (notably __toString) on each array element. The import action is accessible only to authenticated wiki admins but lacks CSRF token verification, allowing remote exploitation via crafted POST requests that auto-execute upon admin session. The presence of doctrine/annotations and doctrine/cache dependencies with known PHPGGC gadget chains enables potential remote code execution. The vulnerability is reachable on default installs without additional configuration. No patch or official remediation is currently documented.
Potential Impact
An attacker who can trick a wiki administrator into submitting a specially crafted POST request can achieve arbitrary PHP object injection, leading to remote code execution on the server hosting YesWiki. This is due to unsafe unserialize usage combined with exploitable gadget chains in bundled dependencies. The lack of CSRF protection on the import action facilitates remote exploitation despite admin-only access controls. Successful exploitation compromises the confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the BazarImportAction to trusted administrators only and avoid exposing the import functionality to untrusted networks. Consider disabling or restricting the 'bazarimport' action if possible. Monitor for vendor updates addressing this vulnerability and apply official patches promptly once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9369-69wj-7m2f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-52777"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 4.0
Threat ID: 6a50ba7368715ace43580250
Added to database: 07/10/2026, 09:25:07 UTC
Last enriched: 07/10/2026, 09:54:23 UTC
Last updated: 07/11/2026, 02:13:03 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.