CVE & CISA-KEV Catalog

CVE-2021-29503

HIGH
8.1
CVSS v3
NVD

Description

HedgeDoc is a platform to write and share markdown. HedgeDoc before version 1.8.2 is vulnerable to a cross-site scripting attack using the YAML-metadata of a note. An attacker with write access to a note can embed HTML tags in the Open Graph metadata section of the note, resulting in the frontend rendering the script tag as part of the `<head>` section. Unless your instance prevents guests from editing notes, this vulnerability allows unauthenticated attackers to inject JavaScript into notes that allow guest edits. If your instance prevents guests from editing notes, this vulnerability allows authenticated attackers to inject JavaScript into any note pages they have write-access to. This vulnerability is patched in version 1.8.2. As a workaround, one can disable guest edits until the next update.

How to fix

Remediation Available
hedgedocNVD
Affected:< 1.8.2Fixed in:1.8.2CVE-2021-29503derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploit Intelligence

1.04%probability of exploitation in 30 days
60thpercentile

Moderate risk: more likely to be exploited than 60% of all known CVEs.

References

Third-Party Advisory1
Embed a live status badge for CVE-2021-29503
CVE-2021-29503 severity badge

Markdown

[![CVE-2021-29503](https://tridentstack.com/cve/badge/CVE-2021-29503.svg)](https://tridentstack.com/cve/CVE-2021-29503)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-29503"><img src="https://tridentstack.com/cve/badge/CVE-2021-29503.svg" alt="CVE-2021-29503"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.