# CVE-2026-116206: YesWiki stored cross-site scripting in comment bodies

Source: https://junglewise.ai/threats/cve-2026-116206-yeswiki-from-4-2-0-before-4-7-0-contains-a-stored-cross-site  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-25. Updated: 2026-10-25  
License: CC BY 4.0 with a link back

CVE-2026-116206 · Severity: medium · CVSS 6.4 · Published 2026-10-25

YesWiki is a collaborative wiki platform that allows registered users to post comments on pages. Versions 4.2.0 through 4.6.x contain a vulnerability where authenticated users can inject malicious JavaScript into comment bodies, which then executes in the browsers of all visitors—including administrators—who view the page. An attacker with basic user privileges can steal session cookies, hijack admin accounts, or compromise the entire wiki.

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

## Quick answers

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

**How severe is CVE-2026-116206?** Medium severity, with a CVSS score of 6.4, published 25 October 2026.

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

**Is there a fix for CVE-2026-116206?** Yes: fixed in 4.7.0. Until then: Disable the allow_raw_html configuration option, or disable the comments feature globally if not essential until upgrading. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-116206 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-116206?** 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

Disable the allow_raw_html configuration option, or disable the comments feature globally if not essential until upgrading.

## Technical details

Authenticated users can inject raw HTML and JavaScript via the wakka raw-HTML syntax (""..."") into comment bodies submitted to the /api/comments endpoint. Comments are stored without sanitization and rendered with the Twig |raw filter, which disables output escaping. Because the allow_raw_html option defaults to true, injected scripts execute persistently in every viewer's session, including administrators, enabling session hijacking and privilege escalation.

## Affected products

- YesWiki YesWiki 4.2.0 before 4.7.0

## Timeline

- 2026-10-09: disclosed
- 2026-10-25: advisory

## References

- [https://github.com/YesWiki/yeswiki/security/advisories/GHSA-wq96-vjjh-hfc6](https://github.com/YesWiki/yeswiki/security/advisories/GHSA-wq96-vjjh-hfc6)
- [https://www.vulncheck.com/advisories/yeswiki-4.2.0-before-4.7.0-stored-xss-via-comment-raw-html-syntax](https://www.vulncheck.com/advisories/yeswiki-4.2.0-before-4.7.0-stored-xss-via-comment-raw-html-syntax)

## 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)
