Server-side Request Forgery (SSRF) Affecting yeswiki/yeswiki package, versions <4.7.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.51% (44th 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-21717105
  • published26 Oct 2026
  • disclosed25 Oct 2026
  • creditDystopian M

Introduced: 25 Oct 2026

NewCVE-2026-116205  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade yeswiki/yeswiki to version 4.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via formatters/raw.php, which fetches a user-supplied URL using file() without validating the target host. An unauthenticated attacker can supply an internal URL as the raw inclusion target, causing the server to issue an HTTP request to an arbitrary internal host and reflect the response body back to the attacker, enabling full read-back SSRF against services unreachable from the client.

PoC

Default installation, no configuration changes. Stand up any HTTP service on an internal host the client cannot reach directly (models an internal service), then send — with no cookie or authentication:

GET /?wiki=PagePrincipale/render&content=[[|http://INTERNAL_HOST:PORT/x]]
  • The YesWiki server issues GET /x/wakka.php?wiki=404/raw to INTERNAL_HOST:PORT (visible in the target's access log, sourced from the YesWiki container).
  • INTERNAL_HOST's response body is reflected back in the HTTP response — full read-back SSRF. Blind reachability confirmed against arbitrary host:port.

Note: Default installation with no configuration changes, targeting an internal HTTP service unreachable by the client.

CVSS Base Scores

version 4.0
version 3.1