# CVE-2026-32757: Admidio: HTMLPurifier Bypass in eCard Message Allows HTML Email Injection

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T21:18:39.000Z
- Modified: 2026-06-17T10:36:20.030Z
- Also known as: GHSA-4wr4-f2qf-x5wj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Admidio admidio: < 5.0.7; before 5.0.7
- admidio/admidio (Packagist): before 5.0.7

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Admidio/admidio/security/advisories/GHSA-4wr4-f2qf-x5wj> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/Admidio/admidio/releases/tag/v5.0.7> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32757> (advisory)
- <https://github.com/Admidio/admidio> (package)

## Sources

- CVE List: [CVE-2026-32757](https://www.cve.org/CVERecord?id=CVE-2026-32757), CVE Terms of Use, modified 2026-03-25
- GitHub Advisory Database: [GHSA-4wr4-f2qf-x5wj](https://github.com/advisories/GHSA-4wr4-f2qf-x5wj), CC-BY-4.0, modified 2026-03-20
- NVD: [CVE-2026-32757](https://nvd.nist.gov/vuln/detail/CVE-2026-32757), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32757 · Whole record: https://cve.day/CVE-2026-32757.json · Rebuilt by cve.day 2026-11-25T22:59:16.236Z
