CVE-2021-32671
CVE-2021-32671 — XSS vulnerability with translator
Flarum is a forum software for building communities. Flarum's translation system allowed for string inputs to be converted into HTML DOM nodes when rendered. This change was made after v0.1.0-beta.16 (our last beta before v1.0.0) and was not noticed or documented. This allowed for any user to type malicious HTML markup within certain user input fields and have this execute on client browsers. The example which led to the discovery of this vulnerability was in the forum search box. Entering faux-malicious HTML markup, such as <script>alert('test')</script> resulted in an alert box appearing on the forum. This attack could also be modified to perform AJAX requests on behalf of a user, possibly deleting discussions, modifying their settings or profile, or even modifying settings on the Admin panel if the attack was targetted towards a privileged user. All Flarum communities that run flarum…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
40%
chance of exploitation in 30 days
CVSS base
10.0
CRITICAL
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 10.0 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-79
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /script.
References
3 on the record
- github.com/flarum/core/security/advisories/GHSA-5qjq-69w6-fg57
x_refsource_CONFIRM
- github.com/flarum/core/commit/440bed81b8019dff00642c8f493b4909d505a28a
x_refsource_MISC
- packagist.org/packages/flarum/core
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2018-7602 Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004CVSS 9.8 · CISA KEV
- CVE-2026-136159 TypiCMS Core before 17.0.46 API Token Disclosure via /api/usersCVSS 8.8
- CVE-2026-102100 Kiteworks Core stored XSSCVSS 8.7
- CVE-2026-102099 Kiteworks Core arbitrary file writeCVSS 7.2
- CVE-2019-3929 Crestron Multiple Products Command Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-42009 RoundCube Webmail Cross-Site Scripting VulnerabilityCVSS 9.3 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.