CVE & CISA-KEV Catalog

CVE-2021-43827

MEDIUM
4.3
CVSS v3
NVD

Description

discourse-footnote is a library providing footnotes for posts in Discourse. ### Impact When posting an inline footnote wrapped in ` ` tags (e.g. ` ^[footnote] `, the resulting rendered HTML would include a nested ` `, which is stripped by Nokogiri because it is not valid. This then caused a javascript error on topic pages because we were looking for an ` ` element inside the footnote reference span and getting its ID, and because it did not exist we got a null reference error in javascript. Users are advised to update to version 0.2. As a workaround editing offending posts from the rails console or the database console for self-hosters, or disabling the plugin in the admin panel can mitigate this issue.

How to fix

Remediation Available
discourse footnoteNVD
Affected:< 0.2Fixed in:0.2CVE-2021-43827derived 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 RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

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

Exploit Intelligence

0.80%probability of exploitation in 30 days
52ndpercentile

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

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-755 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-5638Critical9.8100%KEV + RansomFix
CVE-2020-7247Critical9.899%KEVFix
CVE-2023-36933High7.572%-Fix
CVE-2018-0934High7.566%-Fix
CVE-2019-14287High8.864%-Fix
CVE-2019-12815Critical9.858%-Fix
Embed a live status badge for CVE-2021-43827
CVE-2021-43827 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2021-43827"><img src="https://tridentstack.com/cve/badge/CVE-2021-43827.svg" alt="CVE-2021-43827"></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.