Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-28368

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-28368
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:54 UTC · Revision 1

Source evidence

CVE-2022-28368

core-osv · Original source

Published 3 Apr 2022, 00:00 UTC

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

osv:CVE-2022-28368
Complete source record
{
  "id": "d2955c284764c4e7e462e21882923df7a11fa0d141d698c52bdf072b67a12793",
  "url": "https://osv.dev/vulnerability/CVE-2022-28368",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-28368",
    "summary": "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).",
    "evidence": "osv:CVE-2022-28368",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-28368",
      "aliases": [
        "CVE-2022-28368",
        "GHSA-x752-qjv4-c4hc"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dompdf/dompdf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c6dfd9bb8b0040609f04754f729d4cb3016e0575"
                },
                {
                  "fixed": "4c70e1025bcd9b7694b95dd552499bd83cd6141d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4c70e1025bcd9b7694b95dd552499bd83cd6141d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.8.6",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.0",
            "v0.7.0-beta3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.6.0-b3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28368.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.891061387Z",
      "provider": "osv",
      "references": [
        "https://packagist.org/packages/dompdf/dompdf#v1.2.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28368.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-28368",
        "https://github.com/dompdf/dompdf/issues/2598",
        "https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d",
        "https://github.com/dompdf/dompdf/pull/2808",
        "https://github.com/snyk-labs/php-goof",
        "https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28368.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-28368",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 518292,
  "published_at": "2022-04-03T00:00:00+00:00"
}