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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4wr4-f2qf-x5wj Admidio has an HTMLPurifier Bypass in eCard Message Allows HTML Email Injection
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 19 Mar 2026 23:30:00 +0000

Type Values Removed Values Added
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.
Title Admidio: HTMLPurifier Bypass in eCard Message Allows HTML Email Injection
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-19T23:12:37.664Z

Reserved: 2026-03-13T18:53:03.532Z

Link: CVE-2026-32757

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-20T00:16:16.930

Modified: 2026-03-20T00:16:16.930

Link: CVE-2026-32757

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses