Home / flarum / sticky / CVE-2021-21283
CVE-2021-21283: is it exploited, and which versions of flarum sticky are affected and fixed?
CVE-2021-21283 is a cross-site scripting (XSS) vulnerability in flarum sticky. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: flarum/sticky from 0.1.0-beta.14 before 0.1.0-beta.15.1 (GitHub advisory GHSA-h3gg-7wx2-cq3h). Fixed in 0.1.0-beta.15.1 (GitHub advisory GHSA-h3gg-7wx2-cq3h). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:04 UTC.
What is CVE-2021-21283?
XSS in Flarum Sticky extension.
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.
From the CVE record by GitHub_M, last updated August 3, 2024, 18:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| flarum | sticky | >=v0.1.0-beta.14 <=v0.1.0-beta.15 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | flarum/sticky | >= 0.1.0-beta.14, < 0.1.0-beta.15.1 | 0.1.0-beta.15.1 | GHSA-h3gg-7wx2-cq3h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 26, 2021. Summary: XSS in Flarum Sticky extension.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| flarum | sticky | 0.1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:35 UTC.
How severe is CVE-2021-21283?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21283 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.80% probability of exploitation activity in the next 30 days, percentile 57.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/flarum/sticky/security/advisories/GHSA-h3gg-7wx2-cq3h x_refsource_CONFIRM
- https://github.com/flarum/sticky/pull/24 x_refsource_MISC
- https://github.com/flarum/sticky/commit/7ebd30462bd405c4c0570b93a6d48710e6c3db19 x_refsource_MISC
- https://discuss.flarum.org/d/26042-security-update-to-flarum-sticky-010-beta151%29 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 22, 2020
- Published
- January 26, 2021, 20:45 UTC
- CVE record updated
- August 3, 2024, 18:09 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:35 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:04 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-21283
Is CVE-2021-21283 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of flarum sticky are affected by CVE-2021-21283?
flarum/sticky from 0.1.0-beta.14 before 0.1.0-beta.15.1, per the GitHub advisory GHSA-h3gg-7wx2-cq3h. The tables above give every range the sources list.
Which version fixes CVE-2021-21283?
0.1.0-beta.15.1, per the GitHub advisory GHSA-h3gg-7wx2-cq3h. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21283?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21283?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.