Technical impact
The flaw is a stored cross‑site scripting vulnerability located in YesWiki’s handlers/page/referrers_sites.php. An attacker can supply a crafted Referer header that contains HTML meta characters, causing the application to store malicious scripts. Whenever a visitor loads a referrer‑sites page the script is rendered unescaped and runs in the context of the site’s origin, allowing the attacker to trigger any same‑origin authenticated action such as modifying user data or initiating privileged operations.
Affected Systems
Any installation of YesWiki older than version 4.7.0 that exposes the referrers_sites handler is affected. The vulnerability applies to all releases before 4.7.0 and does not require any specific configuration beyond the default front‑end page.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the flaw without authentication by sending a malicious Referer header. The payload is stored and subsequently executed for all visitors who view the referrer‑sites page, which makes the vulnerability readily exploitable in any public deployment of the affected YesWiki version.