Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-43827

4.3 · MEDIUM
Published Dec 14, 2021 discourse CWE-755 EPSS 0.80% (54th pctl)

Overview

CVE-2021-43827 is a medium-severity vulnerability affecting discourse discourse_footnote. It was published on December 14, 2021 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

discourse-footnote is a library providing footnotes for posts in Discourse. ### Impact When posting an inline footnote wrapped in `<a>` tags (e.g. `<a>^[footnote]</a>`, the resulting rendered HTML would include a nested `<a>`, 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 `<a>` 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.

Remediation

Check the references section for vendor advisories and patches from discourse. Update discourse_footnote to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
discourse discourse_footnote >= 0, < 0.2 Affected

Frequently Asked Questions

What is CVE-2021-43827?

CVE-2021-43827 is a medium-severity vulnerability affecting discourse discourse_footnote. It was published on December 14, 2021 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

How severe is CVE-2021-43827?

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-43827?

Check the references section for vendor advisories and patches from discourse. Update discourse_footnote to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-43827?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-43827 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.