Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39175

HedgeDoc is a platform to write and share markdown. In versions prior to 1.9.0, an unauthenticated attacker can inject arbitrary JavaScript into the speaker-notes of the slide-mode feature by embedding an iframe hosting the malicious code into the slides or by embedding the HedgeDoc instance into another page. The problem is patched in version 1.9.0. There are no known workarounds aside from upgrading.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39175
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:53 UTC · Revision 1

Source evidence

CVE-2021-39175

core-osv · Original source

Published 30 Aug 2021, 21:15 UTC

HedgeDoc is a platform to write and share markdown. In versions prior to 1.9.0, an unauthenticated attacker can inject arbitrary JavaScript into the speaker-notes of the slide-mode feature by embedding an iframe hosting the malicious code into the slides or by embedding the HedgeDoc instance into another page. The problem is patched in version 1.9.0. There are no known workarounds aside from upgrading.

osv:CVE-2021-39175
Complete source record
{
  "id": "9d1a894dbc30e8c600e7da1a4429eb29b8e24f44fc5233b1d03184346332b936",
  "url": "https://osv.dev/vulnerability/CVE-2021-39175",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39175",
    "summary": "HedgeDoc is a platform to write and share markdown. In versions prior to 1.9.0, an unauthenticated attacker can inject arbitrary JavaScript into the speaker-notes of the slide-mode feature by embedding an iframe hosting the malicious code into the slides or by embedding the HedgeDoc instance into another page. The problem is patched in version 1.9.0. There are no known workarounds aside from upgrading.",
    "evidence": "osv:CVE-2021-39175",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39175",
      "aliases": [
        "CVE-2021-39175",
        "GHSA-j748-779h-9697"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hedgedoc/hedgedoc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "98b0bf25d2859f335f90a805120726a5c54b1917"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.9.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.9.0-rc1",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.8.0-rc1",
            "1.7.2",
            "1.7.1",
            "1.7.0",
            "1.7.0-rc2",
            "1.7.0-rc1",
            "1.6.0",
            "1.5.0",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.1",
            "1.2.0",
            "1.1.1-ce",
            "1.1.0-ce",
            "1.0.1-ce",
            "1.0.0-ce",
            "0.5.0",
            "0.4.6",
            "0.4.5",
            "0.4.4",
            "0.4.3",
            "0.4.2",
            "0.4.1",
            "0.4.0",
            "v0.3.4",
            "v0.3.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39175.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:53.257242532Z",
      "provider": "osv",
      "references": [
        "https://github.com/hedgedoc/hedgedoc/pull/1369",
        "https://github.com/hedgedoc/hedgedoc/pull/1375",
        "https://github.com/hedgedoc/hedgedoc/pull/1513",
        "https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-j748-779h-9697"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39175",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386367,
  "published_at": "2021-08-30T21:15:09.523+00:00"
}