GitHub Advisoryadvisory · Packagist

GHSA-x82r-6j37-vrgg Pimcore's Admin Classic Bundle allows HTML Injection

LOW Published 2025-04-08 Modified 2025-04-08 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 `&#x3c;h1&#x3e; just a test &#x3c;/h1&#x3e; &#x3c;p&#x3e; &#x3c;img&#x3e;`.

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