CVE-2026-116206

YesWiki 4.2.0 before 4.7.0 Stored XSS via Comment Raw-HTML Syntax

Published Oct 25, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
YesWiki from 4.2.0 before 4.7.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject script into comment bodies using the wakka raw-HTML syntax. Attackers can post comments via the /api/comments endpoint that render unescaped through the Twig raw filter, executing JavaScript in administrators' and visitors' sessions.

Analysis

AI-generated

Technical impact

YesWiki versions 4.2.0 to 4.6.x contain a stored cross-site scripting flaw. It allows any authenticated user to inject unescaped JavaScript into comment bodies by using the wakka raw-HTML syntax on the /api/comments endpoint. The injected code is rendered through Twig's raw filter, leading to arbitrary script execution in the contexts of both administrators and other visitors who view the affected comments.

Affected Systems

Impact is limited to installations of YesWiki from version 4.2.0 through 4.6.x, as the vulnerability was patched in 4.7.0. All users of these versions, including administrators, can be affected. The affected product is YesWiki, ranging from version 4.2.0 to 4.6.x.

Risk and Exploitability

With a CVSS score of 5.3 the vulnerability is considered moderate. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user who can post comments via the API, which means that attackers must first compromise a user account or gain login access. Once achieved, the stored XSS can lead to client-side attacks such as credential theft, session hijacking, or defacement, impacting confidentiality and integrity of users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.7.0 or later, which removes the raw-HTML comment feature.
  • If an upgrade is not yet possible, disable or remove the wakka raw-HTML syntax for comments and enforce server-side sanitization of comment input.
  • Restrict comment posting to trusted user roles or implement additional filtering to reject raw HTML content.
  • Monitor for suspicious comment activity through the /api/comments endpoint and review logs for potential abuse.

Generated by OpenCVE AI on October 25, 2026 at 17:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description YesWiki from 4.2.0 before 4.7.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject script into comment bodies using the wakka raw-HTML syntax. Attackers can post comments via the /api/comments endpoint that render unescaped through the Twig raw filter, executing JavaScript in administrators' and visitors' sessions.
Title YesWiki 4.2.0 before 4.7.0 Stored XSS via Comment Raw-HTML Syntax
First Time appeared Yeswiki
Yeswiki yeswiki
Weaknesses CWE-79
CPEs cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*
Vendors & Products Yeswiki
Yeswiki yeswiki
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 4:20 PM
Reserved
Oct 25, 2026, 12:27 PM
Status
Deferred
Published
Oct 25, 2026, 2:17 PM
Modified
Oct 29, 2026, 5:18 PM