All vulnerabilities

Servers and applications

CVE-2026-104446

Unauthenticated open mail relay via contact mail AJAX handler

Severity
Medium 6.5
Published
1 Sept 2026
Last changed
7 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Exploit chance
0.4% in the next 30 daysHigher than 38% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Missing authentication (CWE-306)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Also known as
GHSA-36fx-49jj-57rw
Sources
Project advisories (GitHub)

Description

The AJAX send branch of YesWiki's contact mail handler processes an email send without authentication. $hasReadAccess is initialized true and is never overwritten when the attacker omits the field and type parameters and supplies $_POST['mail'], so send_mail() dispatches an email with attacker-controlled recipient, subject, and body (and spoofed From/Reply-To unless contact_from is configured) — an unauthenticated open mail relay.

In tools/contact/handlers/page/mail.php the AJAX send branch is entered on (!empty($_POST['mail']) || !empty($_POST['email'])) plus X-Requested-With: XMLHttpRequest (L19-21). $hasReadAccess is set true at L27 and is only overwritten by a real ACL check inside three branches the attacker avoids:

  • !empty($_GET['field']) (L28) — omit field;
  • if (!$mail_receiver) (L46) — attacker supplies truthy $_POST['mail'] at L44;
  • $type == 'mail' (L77) — omit type, so $type='' and the L90 else-branch builds subject/body from POST.
From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.7

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References