Improper Encoding or Escaping of Output Affecting yeswiki/yeswiki package, versions <4.6.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-YESWIKIYESWIKI-17913362
  • published9 Jul 2026
  • disclosed9 Jul 2026
  • creditUnknown

Introduced: 9 Jul 2026

CVE-2026-52772  (opens in a new tab)
CWE-116  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade yeswiki/yeswiki to version 4.6.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the rendering of form field labels and hints within templates due to improper output escaping. An attacker can execute arbitrary JavaScript code in the context of users viewing affected forms by injecting malicious content into field.label or field.hint through form definitions. This allows theft of session cookies, modification of page content, or phishing attacks against any visitor, including unauthenticated users. This is only exploitable if the attacker has privileges to create or edit form definitions with the required access control level.

CVSS Base Scores

version 4.0
version 3.1