# CVE-2026-116823: YesWiki reflected cross-site scripting in Bazar field rendering

Source: https://junglewise.ai/threats/cve-2026-116823-yeswiki-before-4-7-0-contains-a-reflected-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-27. Updated: 2026-10-27  
License: CC BY 4.0 with a link back

CVE-2026-116823 · Severity: medium · CVSS 6.1 · Published 2026-10-27

YesWiki is a wiki collaboration platform. An unauthenticated attacker can inject malicious JavaScript into a page by crafting a URL with query parameters matching missing form field names. When a victim visits the link, the script executes in their browser with access to their authenticated session, allowing the attacker to perform actions on their behalf or steal page content.

Technologies: [YesWiki](https://junglewise.ai/threats/technologies/yeswiki). Vendors: [YesWiki](https://junglewise.ai/threats/vendors/yeswiki).

## Quick answers

**Is CVE-2026-116823 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-116823 being exploited in the wild.

**How severe is CVE-2026-116823?** Medium severity, with a CVSS score of 6.1, published 27 October 2026.

**Which products and versions are affected?** YesWiki before 4.7.0.

**Is there a fix for CVE-2026-116823?** Yes: fixed in 4.7.0. Until then: Remove or restrict the $_REQUEST fallback in BazarField::getValue() to prevent unsanitized query parameters from reaching Twig templates with the |raw filter enabled. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-116823 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-116823?** Check whether you run 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

- Fixed in 4.7.0

Remove or restrict the $_REQUEST fallback in BazarField::getValue() to prevent unsanitized query parameters from reaching Twig templates with the |raw filter enabled.

## Technical details

BazarField::getValue() in tools/bazar/fields/BazarField.php falls back to reading unsanitized $_REQUEST values when an entry's stored JSON lacks a field key. These values are rendered through Twig templates with the |raw filter enabled, which bypasses auto-escaping. An unauthenticated attacker can craft a URL with a query parameter matching a missing Bazar field name to inject reflected JavaScript that executes in the victim's browser.

## Affected products

- YesWiki YesWiki before 4.7.0

## Timeline

- 2026-10-12: disclosed
- 2026-10-27: advisory

## References

- [https://github.com/YesWiki/yeswiki/security/advisories/GHSA-hcvp-q8fx-84mc](https://github.com/YesWiki/yeswiki/security/advisories/GHSA-hcvp-q8fx-84mc)
- [https://www.vulncheck.com/advisories/yeswiki-before-4.7.0-reflected-xss-via-bazarfield-request-fallback](https://www.vulncheck.com/advisories/yeswiki-before-4.7.0-reflected-xss-via-bazarfield-request-fallback)

## Related threats

- [YesWiki SQL injection in despam.php INTERVAL operand](https://junglewise.ai/threats/cve-2026-116828-yeswiki-before-4-7-0-contains-a-sql-injection-vulnerability-in)
- [YesWiki server-side request forgery in Bazar CSV import](https://junglewise.ai/threats/cve-2026-116827-yeswiki-before-4-7-0-contains-a-server-side-request-forgery)
- [YesWiki server-side request forgery in DuplicationManager](https://junglewise.ai/threats/cve-2026-116826-yeswiki-before-4-7-0-contains-a-server-side-request-forgery)
- [YesWiki HTTP Signature replay protection missing in ActivityPub inbox](https://junglewise.ai/threats/cve-2026-116825-yeswiki-from-4-6-2-before-4-7-0-lacks-replay-protection-in)
- [YesWiki stored cross-site scripting in referrers_sites handler](https://junglewise.ai/threats/cve-2026-116824-yeswiki-before-4-7-0-contains-a-stored-cross-site-scripting)
