CVE-2026-116824

YesWiki before 4.7.0 Stored XSS via Referer Header in referrers_sites Handler

Published Oct 26, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
YesWiki before 4.7.0 contains a stored cross-site scripting vulnerability in handlers/page/referrers_sites.php that allows unauthenticated attackers to inject scripts via crafted Referer headers. Attackers can send a Referer hostname containing HTML metacharacters that renders unescaped, executing JavaScript for any referrer-sites page visitor to perform same-origin authenticated actions.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest YesWiki release (4.7.0 or newer) to remove the vulnerability.
  • If an upgrade cannot be performed immediately, re‑configure the system to block or delete the referrers_sites handler so the page is no longer accessible.
  • Sanitize and escape the Referer header before storing or rendering it, ensuring that any embedded HTML or JavaScript is neutralised, in accordance with CWE‑79 mitigations.

Generated by OpenCVE AI on October 27, 2026 at 08:27 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 before 4.7.0 contains a stored cross-site scripting vulnerability in handlers/page/referrers_sites.php that allows unauthenticated attackers to inject scripts via crafted Referer headers. Attackers can send a Referer hostname containing HTML metacharacters that renders unescaped, executing JavaScript for any referrer-sites page visitor to perform same-origin authenticated actions.
Title YesWiki before 4.7.0 Stored XSS via Referer Header in referrers_sites Handler
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.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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 31, 2026, 2:19 AM
Reserved
Oct 26, 2026, 10:14 PM
Status
Deferred
Published
Oct 27, 2026, 12:17 AM
Modified
Oct 31, 2026, 3:17 AM