ubuntu-cve-2025-51591
Vulnerability from osv_ubuntu
Published
2025-07-11 14:15
Modified
2026-05-20 15:22
Summary
Details
A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and compromise the whole infrastructure via injecting a crafted iframe. Note: Some users have stated that Pandoc by default can retrieve and parse untrusted HTML content which can enable SSRF vulnerabilities. Using the ‘--sandbox’ option or ‘pandoc-server’ can mitigate such vulnerabilities. Using pandoc with an external ‘--pdf-engine’ can also enable SSRF vulnerabilities, such as CVE-2022-35583 in wkhtmltopdf.
Severity
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-pandoc-prof",
"binary_version": "1.12.2.1-1build2"
},
{
"binary_name": "pandoc",
"binary_version": "1.12.2.1-1build2"
},
{
"binary_name": "pandoc-data",
"binary_version": "1.12.2.1-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@1.12.2.1-1build2?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11.1-2build2",
"1.11.1-4",
"1.11.1-5",
"1.12.2.1-1",
"1.12.2.1-1build1",
"1.12.2.1-1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-pandoc-prof",
"binary_version": "1.16.0.2~dfsg-1"
},
{
"binary_name": "pandoc",
"binary_version": "1.16.0.2~dfsg-1"
},
{
"binary_name": "pandoc-data",
"binary_version": "1.16.0.2~dfsg-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@1.16.0.2~dfsg-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.2.1~dfsg-1build6",
"1.15.1.1~dfsg-2",
"1.15.1.1~dfsg-2build1",
"1.16.0.2~dfsg-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-pandoc-prof",
"binary_version": "1.19.2.4~dfsg-1build4"
},
{
"binary_name": "pandoc",
"binary_version": "1.19.2.4~dfsg-1build4"
},
{
"binary_name": "pandoc-data",
"binary_version": "1.19.2.4~dfsg-1build4"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@1.19.2.4~dfsg-1build4?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.19.2.1.0-1",
"1.19.2.4~dfsg-1build1",
"1.19.2.4~dfsg-1build2",
"1.19.2.4~dfsg-1build3",
"1.19.2.4~dfsg-1build4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-pandoc-prof",
"binary_version": "2.5-3build2"
},
{
"binary_name": "pandoc",
"binary_version": "2.5-3build2"
},
{
"binary_name": "pandoc-data",
"binary_version": "2.5-3build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@2.5-3build2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5-2",
"2.5-3",
"2.5-3build1",
"2.5-3build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-pandoc-prof",
"binary_version": "2.9.2.1-3ubuntu2"
},
{
"binary_name": "pandoc",
"binary_version": "2.9.2.1-3ubuntu2"
},
{
"binary_name": "pandoc-data",
"binary_version": "2.9.2.1-3ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@2.9.2.1-3ubuntu2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.9.2.1-1ubuntu4",
"2.9.2.1-3ubuntu1",
"2.9.2.1-3ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pandoc",
"binary_version": "3.1.3+ds-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@3.1.3+ds-2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.17.1.1-3ubuntu1",
"3.0.1+ds-3",
"3.1.3+ds-1",
"3.1.3+ds-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pandoc",
"binary_version": "3.1.11.1+ds-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@3.1.11.1+ds-4?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.1.11.1+ds-2",
"3.1.11.1+ds-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pandoc",
"binary_version": "3.7.0.2+ds-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "pandoc",
"purl": "pkg:deb/ubuntu/pandoc@3.7.0.2+ds-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.1.11.1+ds-4",
"3.7.0.2+ds-1"
]
}
],
"aliases": [],
"details": "A Server-Side Request Forgery (SSRF) in JGM Pandoc v3.6.4 allows attackers to gain access to and compromise the whole infrastructure via injecting a crafted iframe. Note: Some users have stated that Pandoc by default can retrieve and parse untrusted HTML content which can enable SSRF vulnerabilities. Using the \u2018--sandbox\u2019 option or \u2018pandoc-server\u2019 can mitigate such vulnerabilities. Using pandoc with an external \u2018--pdf-engine\u2019 can also enable SSRF vulnerabilities, such as CVE-2022-35583 in wkhtmltopdf.",
"id": "UBUNTU-CVE-2025-51591",
"modified": "2026-05-20T15:22:54Z",
"published": "2025-07-11T14:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-51591"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-51591"
},
{
"type": "REPORT",
"url": "https://github.com/jgm/pandoc/issues/10682"
},
{
"type": "REPORT",
"url": "https://github.com/jgm/pandoc/commit/67edf7ce7cd3563a180ae44bd122b012e22364f8"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-51591"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…