UBUNTU-CVE-2025-51591

Source
https://ubuntu.com/security/CVE-2025-51591
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-51591
Upstream
Published
2025-07-11T14:15:00Z
Modified
2026-04-27T18:53:21.396139Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:14.04:LTS
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@1.12.2.1-1build2?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
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.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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:16.04:LTS
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@1.16.0.2~dfsg-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
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.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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:18.04:LTS
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@1.19.2.4~dfsg-1build4?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
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": "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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:20.04:LTS
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@2.5-3build2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5-2
2.5-3
2.5-3build1
2.5-3build2

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:22.04:LTS
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@2.9.2.1-3ubuntu2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.9.2.1-1ubuntu4
2.9.2.1-3ubuntu1
2.9.2.1-3ubuntu2

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:24.04:LTS
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@3.1.3+ds-2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.17.1.1-3ubuntu1
3.*
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.3+ds-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:25.10
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@3.1.11.1+ds-4?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.11.1+ds-2
3.1.11.1+ds-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "pandoc",
            "binary_version": "3.1.11.1+ds-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"
Ubuntu:26.04
pandoc

Package

Name
pandoc
Purl
pkg:deb/ubuntu/pandoc@3.7.0.2+ds-1?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.11.1+ds-4
3.7.0.2+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "pandoc",
            "binary_version": "3.7.0.2+ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-51591.json"