Pimcore's Admin Classic Bundle allows HTML Injection
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.
| Package | Affected versions | Patched versions |
|---|---|---|
pimcore/admin-ui-classic-bundlePackagist | < 1.7.6 | 1.7.6 |
Affected products
1- Range: < 1.7.6
Patches
176b690d4f8fcFix: 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- github.com/advisories/GHSA-x82r-6j37-vrggghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-30166ghsaADVISORY
- github.com/pimcore/admin-ui-classic-bundle/commit/76b690d4f8fcd9c9d41766bc5238c2513242e60eghsax_refsource_MISCWEB
- github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-x82r-6j37-vrggghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.