CWE
94 79
Advisory Published
CVE Published
Updated

CVE-2022-28368: Code Injection

First published: Thu 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).

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/dompdf/dompdf<1.2.1
composer/dompdf/dompdf<1.2.1
1.2.1
Dompdf<1.2.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • How severe is CVE-2022-28368?

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

  • What software is affected by CVE-2022-28368?

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

  • How can I fix CVE-2022-28368?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203