Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-25180

An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. NOTE: this is disputed because the behavior of the /pdf endpoint is intentional. The /pdf endpoint is only available after installing a test framework (that lives outside of the pdfmake applicaton). Anyone installing this is responsible for ensuring that it is only available to authorized testers.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-25180
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:41 UTC · Revision 1

Source evidence

CVE-2024-25180

core-osv · Original source

Published 29 Feb 2024, 00:00 UTC

An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. NOTE: this is disputed because the behavior of the /pdf endpoint is intentional. The /pdf endpoint is only available after installing a test framework (that lives outside of the pdfmake applicaton). Anyone installing this is responsible for ensuring that it is only available to authorized testers.

osv:CVE-2024-25180
Complete source record
{
  "id": "78ca9add290981b611278a70f8658e49e1357192f777a1a1a3093e3be38d8012",
  "url": "https://osv.dev/vulnerability/CVE-2024-25180",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-25180",
    "summary": "An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. NOTE: this is disputed because the behavior of the /pdf endpoint is intentional. The /pdf endpoint is only available after installing a test framework (that lives outside of the pdfmake applicaton). Anyone installing this is responsible for ensuring that it is only available to authorized testers.",
    "evidence": "osv:CVE-2024-25180",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-25180",
      "aliases": [
        "CVE-2024-25180"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bpampuch/pdfmake",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a57608962cef692efbf3a908d095fde4ab7f84cf"
                },
                {
                  "last_affected": "a57608962cef692efbf3a908d095fde4ab7f84cf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pdfmake_project:pdfmake:0.2.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.2.9"
                      },
                      {
                        "last_affected": "0.2.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.2.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25180.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.064011317Z",
      "provider": "osv",
      "references": [
        "https://github.com/joaoviictorti/My-CVES/blob/main/CVE-2024-25180/README.md",
        "https://security.snyk.io/vuln/SNYK-JS-PDFMAKE-6347243",
        "https://www.youtube.com/watch?v=QcOlrWUGo6o",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25180.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-25180",
        "https://github.com/bpampuch/pdfmake/issues/2702"
      ],
      "provider_metadata": {
        "isDisputed": true,
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25180.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-25180",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503181,
  "published_at": "2024-02-29T00:00:00+00:00"
}