Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-32757 EUVD-2026-13388GHSA-4wr4-f2qf-x5wj

Admidio: HTMLPurifier Bypass in eCard Message Allows HTML Email Injection

Published Mar 19, 2026 · Updated Mar 25, 2026 · Assigned by GitHub_M

Description

Admidio is an open-source user management solution. In versions 5.0.6 and below, the eCard send handler uses a raw $_POST['ecard_message'] value instead of the HTMLPurifier-sanitized $formValues['ecard_message'] when constructing the greeting card HTML. This allows an authenticated attacker to inject arbitrary HTML and JavaScript into greeting card emails sent to other members, bypassing the server-side HTMLPurifier sanitization that is properly applied to the ecard_message field during form validation. An attack can result in any member or role receiving phishing content that appears legitimate, crossing from the web application into recipients' email clients. This issue has been fixed in version 5.0.7.

Affected products

VendorProductAffectedFixed
Admidio admidio < 5.0.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist admidio/admidio < 5.0.7 5.0.7 GHSA-4wr4-f2qf-x5wj

References