CVE-2021-43827

Published: Dic 14, 2021 Last Modified: Nov 21, 2024 EU-VD ID: EUVD-2021-30707 Aliases: GSD-2021-43827
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 4,3
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: unchanged
Confidentiality: none
Integrity: none
Availability: low
MEDIUM 4,0
Access Vector: network
Access Complexity: low
Authentication: single
Confidentiality: none
Integrity: none
Availability: partial

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0028
Percentile
0,5th
Updated

EPSS Score Trend (Last 90 Days)

755

Improper Handling of Exceptional Conditions

Incomplete
Common Consequences
Security Scopes Affected:
Other
Potential Impacts:
Other
Applicable Platforms
All platforms may be affected
View CWE Details
Application

Discourse Footnote by Discourse

Version Range Affected
To 0.2 (exclusive)
cpe:2.3:a:discourse:discourse_footnote:*:*:*:*:*:discourse:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/discourse/discourse-footnote/commit/796617e01312770112075413…
https://github.com/discourse/discourse-footnote/security/advisories/GHSA-58vr-c…
https://github.com/discourse/discourse-footnote/commit/796617e01312770112075413…
https://github.com/discourse/discourse-footnote/security/advisories/GHSA-58vr-c…