GitHub Advisoryadvisory · Packagist
GHSA-x82r-6j37-vrgg Pimcore's Admin Classic Bundle allows HTML Injection
LOW
Official page ↗
- Aliases
- CVE-2025-30166
- Ecosystem
- Packagist
- Packages
- pimcore/admin-ui-classic-bundle
- Severity
- Low
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-04-08
Affected packages
• Packagist pimcore/admin-ui-classic-bundle: < 1.7.6 → fixed in 1.7.6
Description
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.
Impact
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 ` just a test ` should be displayed in the HTML response as `<h1> just a test </h1> <p> <img>`.
Related
Alias · CVE (1)
- CVE-2025-30166 Pimcore's Admin Classic Bundle provides a Backend UI for Pimcore. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-x82r-6j37-vrgg web
- https://nvd.nist.gov/vuln/detail/CVE-2025-30166 advisory
- https://github.com/pimcore/admin-ui-classic-bundle/commit/76b690d4f8fcd9c9d41766bc5238c2513242e60e web
- https://github.com/pimcore/admin-ui-classic-bundle package