VYPR
Low severityNVD Advisory· Published Apr 8, 2025· Updated Apr 8, 2025

Pimcore's Admin Classic Bundle allows HTML Injection

CVE-2025-30166

Description

Pimcore's Admin Classic Bundle provides a Backend UI for Pimcore. 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. 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. This vulnerability is fixed in 1.7.6.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pimcore/admin-ui-classic-bundlePackagist
< 1.7.61.7.6

Affected products

1

Patches

1
76b690d4f8fc

Fix: strip tags in text email (#877)

1 file changed · +1 1
  • src/Controller/Admin/EmailController.php+1 1 modified
    @@ -370,7 +370,7 @@ public function sendTestEmailAction(Request $request): JsonResponse
             $mail = new Mail();
     
             if ($request->get('emailType') == 'text') {
    -            $mail->text($request->get('content'));
    +            $mail->text(strip_tags($request->get('content')));
             } elseif ($request->get('emailType') == 'html') {
                 $mail->html($request->get('content'));
             } elseif ($request->get('emailType') == 'document') {
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

4

News mentions

0

No linked articles in our index yet.