CVE-2022-28368: Code Injection

Published Mar 24, 2022
·
Updated

Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input file).

Other sources

Dompdf is an HTML to PDF converter. Dompdf before 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input file).

Affected Software

3 affected componentsFixes available
composer/dompdf/dompdf<1.2.1
composer/dompdf/dompdf<1.2.1
1.2.1
Dompdf Project Dompdf<1.2.1

Event History

Mar 24, 2022
Advisory Published
01:59 PM
Apr 3, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-28368?

CVE-2022-28368 is a vulnerability that allows remote code execution in Dompdf before version 1.2.1 via a .php file in the src:url field of an @font-face CSS statement within an HTML input file.

2

How severe is CVE-2022-28368?

CVE-2022-28368 has a severity rating of 9.8 out of 10, which is considered critical.

3

What software is affected by CVE-2022-28368?

Dompdf before version 1.2.1 is affected by CVE-2022-28368.

4

How can I fix CVE-2022-28368?

To fix CVE-2022-28368, upgrade Dompdf to version 1.2.1 or higher.

5

Where can I find more information about CVE-2022-28368?

You can find more information about CVE-2022-28368 on the following references: [GitHub Advisory](https://github.com/advisories/GHSA-x752-qjv4-c4hc), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-28368), and [Dompdf GitHub issue](https://github.com/dompdf/dompdf/issues/2598).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203