{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-20848","published":"2021-11-24T16:15:13.437000Z","last_modified":"2026-06-17T03:34:32.253000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:rwtxt_project:rwtxt:*:*:*:*:*:*:*:*","part":"a","vendor":"rwtxt_project","product":"rwtxt","version_end_excluding":"1.8.6"}],"cpes_truncated":false,"vendors":["rwtxt_project"],"products":["rwtxt_project/rwtxt"],"epss":{"score":0.00906,"percentile":0.60912,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-458f-26r3-x2c3","ecosystem":"Go","name":"github.com/schollz/rwtxt","purl":"pkg:golang/github.com/schollz/rwtxt","ranges":[{"introduced":"0","fixed":"1.8.6"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0231","ecosystem":"Go","name":"github.com/schollz/rwtxt","purl":"pkg:golang/github.com/schollz/rwtxt","ranges":[{"introduced":"0","fixed":"1.8.6"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-20848/","html_en":"/en/cve/CVE-2021-20848/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20848","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20848"},"untrusted":{"vendor_name":"Rwtxt Project","product_name":"Rwtxt","desc_en":"Cross-site scripting vulnerability in rwtxt versions prior to v1.8.6 allows a remote attacker to inject an arbitrary script via unspecified vectors.","affected":[{"untrusted_vendor":"Zack Scholl","untrusted_product":"rwtxt","versions":[]}],"references":[{"url":"https://github.com/schollz/rwtxt","tags":["Product","Third Party Advisory"]},{"url":"https://jvn.jp/en/jp/JVN22515597/index.html","tags":["Third Party Advisory"]}]}}