CVE-2026-52772

YesWiki: Bazar form-field templates still apply `|raw('html')` to `field.label` / `field.hint` in attribute and label-body contexts — stored XSS in form renders (sibling class of commit `e6b66aa`)

Published Sep 4, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, Bazar form-field templates still apply |raw('html') to field.label / field.hint in attribute and label-body contexts, resulting stored XSS in form renders. This issue has been patched in version 4.6.6.

Analysis

AI-generated

Technical impact

YesWiki, a PHP‑based wiki system, contains a flaw in versions prior to 4.6.6 where Bazar form‑field templates render field.label and field.hint with raw('html'), leading to stored cross‑site scripting when form content is saved and later displayed. The attacker can inject arbitrary HTML or JavaScript that will execute in any user’s browser when the form is rendered, enabling defacement, session hijacking or other malicious actions; this represents CWE‑79 (XSS) and potentially CWE‑116 (Improper Encoding). The impact includes loss of confidentiality, integrity and availability of the wiki content and user sessions.

Affected Systems

The vulnerability affects YesWiki deployments running any version older than 4.6.6, specifically the 4.6.5 release series and earlier. Deployments of 4.6.6 or later are considered fixed and do not contain the vulnerable rendering code.

Risk and Exploitability

The CVSS score of 5.5 denotes a moderate severity, while EPSS data is not available, making the exploitation likelihood difficult to quantify. The issue is not listed in the CISA KEV catalog, indicating no widespread exploitation has been reported to date. The likely attack vector requires the attacker to create or edit a Bazar form, necessitating some level of access to the wiki, but the stored XSS payload will run in any browser that views the form, so the threat remains for publicly accessible deployments until the vendor patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update YesWiki to version 4.6.6 or later, which removes the raw('html') rendering of field.label and field.hint.
  • Re‑examine Bazar form templates to confirm no residual raw('html') directives remain for field.label or field.hint.
  • Limit creation and editing of Bazar forms to trusted users to reduce exposure to potential XSS payloads.

Generated by OpenCVE AI on September 5, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xc7j-3g8q-9vh4 YesWiki has stored XSS in Bazar form-field templates via unescaped field.label / field.hint (|raw('html'))
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
First Time appeared Yeswiki
Yeswiki yeswiki
Vendors & Products Yeswiki
Yeswiki yeswiki
Type Values Removed Values Added
Description YesWiki is a wiki system written in PHP. Prior to version 4.6.6, Bazar form-field templates still apply |raw('html') to field.label / field.hint in attribute and label-body contexts, resulting stored XSS in form renders. This issue has been patched in version 4.6.6.
Title YesWiki: Bazar form-field templates still apply `|raw('html')` to `field.label` / `field.hint` in attribute and label-body contexts — stored XSS in form renders (sibling class of commit `e6b66aa`)
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 9, 2026, 5:44 PM
Reserved
Jun 8, 2026, 5:13 PM
Status
Deferred
Published
Sep 5, 2026, 12:17 AM
Modified
Sep 9, 2026, 6:16 PM