CVE-2021-20848 json
Cross-site Scripting in github.com/schollz/rwtxt
published 2021-11-24 4 y ago modified 2026-06-17 4 mo ago also GHSA-458f-26r3-x2c3 , GO-2022-0231 , EUVD-2021-2291
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
Cross-site scripting vulnerability in rwtxt versions prior to v1.8.6 allows a remote attacker to inject an arbitrary script via unspecified vectors.
Patch / fix
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/schollz/rwtxt | <1.8.6 |
1.8.6 |
Affected products
- Zack Scholl rwtxt
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/schollz/rwtxt/commit/c09fb17375c4c47b49524c688288af1fe20e730a
web, patch
-
github.com
/schollz/rwtxt
package, product, third-party-advisory
-
jvn.jp
/en/jp/JVN22515597/index.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-20848
advisory
-
github.com
/advisories/GHSA-458f-26r3-x2c3
advisory
Sources
- CVE List CVE-2021-20848
- GitHub Advisory GHSA-458f-26r3-x2c3
- NVD CVE-2021-20848
- OSV GO-2022-0231
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.