CVE-2021-21283
Last modified
CVE-2021-21283 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Flarum is an open source discussion platform for websites. The "Flarum Sticky" extension versions 0.1.0-beta.14 and 0.1.0-beta.15 has a cross-site scripting vulnerability. EPSS estimates a 0.79% chance of exploitation in the next 30 days.
Description
Flarum is an open source discussion platform for websites. The "Flarum Sticky" extension versions 0.1.0-beta.14 and 0.1.0-beta.15 has a cross-site scripting vulnerability. A change in release beta 14 of the Sticky extension caused the plain text content of the first post of a pinned discussion to be injected as HTML on the discussion list. The issue was discovered following an internal audit. Any HTML would be injected through the m.trust() helper. This resulted in an HTML injection where <script> tags would not be executed. However it was possible to run javascript from other HTML attributes, enabling a cross-site scripting (XSS) attack to be performed. Since the exploit only happens with the first post of a pinned discussion, an attacker would need the ability to pin their own discussion, or be able to edit a discussion that was previously pinned. On forums where all pinned posts are authored by your staff, you can be relatively certain the vulnerability has not been exploited. Forums where some user-created discussions were pinned can look at the first post edit date to find whether the vulnerability might have been exploited. Because Flarum doesn't store the post content history, you cannot be certain if a malicious edit was reverted. The fix will be available in version v0.1.0-beta.16 with Flarum beta 16. The fix has already been back-ported to Flarum beta 15 as version v0.1.0-beta.15.1 of the Sticky extension. Forum administrators can disable the Sticky extension until they are able to apply the update. The vulnerability cannot be exploited while the extension is disabled.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Flarum | Sticky | 0.1.0 | Beta14 |
References
- https://github.com/flarum/sticky/commit/7ebd30462bd405c4c0570b93a6d48710e6c3db19Patch, Third Party Advisory
- https://github.com/flarum/sticky/pull/24Patch, Third Party Advisory
- https://github.com/flarum/sticky/security/advisories/GHSA-h3gg-7wx2-cq3hThird Party Advisory
- https://github.com/flarum/sticky/commit/7ebd30462bd405c4c0570b93a6d48710e6c3db19Patch, Third Party Advisory
- https://github.com/flarum/sticky/pull/24Patch, Third Party Advisory
- https://github.com/flarum/sticky/security/advisories/GHSA-h3gg-7wx2-cq3hThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-21283?
How severe is CVE-2021-21283?
How do I fix CVE-2021-21283?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-21278RSSHub is an open source, easy to use, and extensible RSS fe…9.8
- CVE-2021-21279Contiki-NG is an open-source, cross-platform operating syste…7.5
- CVE-2021-2128Vulnerability in the Oracle VM VirtualBox product of Oracle …6.5
- CVE-2021-21280Contiki-NG is an open-source, cross-platform operating syste…9.8
- CVE-2021-21281Contiki-NG is an open-source, cross-platform operating syste…9.8
- CVE-2021-21282Contiki-NG is an open-source, cross-platform operating syste…9.8
- CVE-2021-21284In Docker before versions 9.03.15, 20.10.3 there is a vulner…6.8
- CVE-2021-21285In Docker before versions 9.03.15, 20.10.3 there is a vulner…6.5
- CVE-2021-21286AVideo Platform is an open-source Audio and Video platform. …8.8
- CVE-2021-21287MinIO is a High Performance Object Storage released under Ap…7.7
- CVE-2021-21288CarrierWave is an open-source RubyGem which provides a simpl…4.3
- CVE-2021-21289Mechanize is an open-source ruby library that makes automate…8.3
Are you affected by CVE-2021-21283?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
