CVE-2026-116823: YesWiki before 4.7.0 Reflected XSS via BazarField $_REQUEST Fallback
YesWiki before 4.7.0 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject JavaScript by supplying query parameters matching missing Bazar field names. Attackers can craft links where BazarField::getValue() falls back to unsanitized $REQUEST values rendered via Twig |raw templates, performing same-origin authenticated actions in victims' sessions.
Affected Software
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker only needs to craft a link containing query parameters whose names match missing Bazar field names and persuade a victim to open it. No attacker authentication is required.
Who is most at risk from a successful exploit?
Victims who open a crafted link while authenticated to the affected YesWiki instance are at risk. The injected JavaScript can perform same-origin actions in the victim's session.
Are default or unauthenticated deployments affected?
The injection can be triggered by an unauthenticated attacker, but exploitation requires a victim to interact with a crafted link. The provided information does not identify any configuration prerequisite beyond the affected Bazar field handling.
How can I determine whether an instance is affected?
Instances running YesWiki versions before 4.7.0 are affected according to the advisory. The vulnerable path involves a missing Bazar field name causing BazarField::getValue() to use an unsanitized $_REQUEST value that is rendered through a Twig raw template.