Advisory

GHSA-x82r-6j37-vrgg

Also known as: CVE-2025-30166

Summary

Pimcore's Admin Classic Bundle allows HTML Injection

Details

Summary
An HTML injection issue allows users with access to the email sending functionality to inject arbitrary HTML code into emails sent via the admin interface, potentially leading to session cookie theft and the alteration of page content.

Details
The vulnerability was discovered in the /admin/email/send-test-email endpoint using the POST method. The vulnerable parameter is content, which permits the injection of arbitrary HTML code during the email sending process. While JavaScript code injection is blocked through filtering, HTML code injection remains possible.

PoC
To reproduce the vulnerability, a user must fill out the email's content form with the desired HTML payload.
send-test-mail-text

Impact
mail-text

This HTML injection vulnerability can potentially enable phishing attacks by allowing the insertion of any html like fake login forms, etc.
All functionalities that process user input should be carefully reviewed to ensure that data is appropriately encoded as HTML entities in server responses. For instance, a reflected input paramete like <h1> just a test </h1> <p> <img> should be displayed in the HTML response as &#x3c;h1&#x3e; just a test &#x3c;/h1&#x3e; &#x3c;p&#x3e; &#x3c;img&#x3e;.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-04-08 14:51 UTC
Modified
2025-04-08 15:27 UTC

Affected packages and fixes

pimcore/admin-ui-classic-bundle

Packagist · All systems

Affected

  • introduced 0, fixed 1.7.6 (ecosystem)

Fixed versions

1.7.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences