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.
Conclusion & alert: CVE-2021-43827 is rated Low Risk (34.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.27%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-03-17 | 0.07% | 0.27% | +0.20% |
| 2 | 2023-03-07 | 0.89% | 0.07% | -0.82% |
| 3 | 2022-04-01 | — | 0.89% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| 4.0 | 2.0 | MEDIUM |
|
8.0 | 2.9 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| discourse | discourse_footnote | < 0.2 | cpe:2.3:a:discourse:discourse_footnote:*:*:*:*:*:discourse:*:* |
| URL | Tags |
|---|---|
| https://github.com/discourse/discourse-footnote/commit/796617e0131277011207541313522cd1946661ab | Patch Third Party Advisory |
| https://github.com/discourse/discourse-footnote/security/advisories/GHSA-58vr-c56v-qr57 | Third Party Advisory |