# CVE-2021-28796: Cross-Site Scripting in Qiita-Markdown

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-03-18T15:05:34.000Z
- Modified: 2026-06-17T03:46:52.623Z
- Also known as: GHSA-f2c9-5jqw-3xh3
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Increments Qiita::Markdown before 0.33.0 allows XSS in transformers.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- qiita-markdown (RubyGems): before 0.33.0
- increments qiita::markdown: before 0.33.0

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/increments/qiita-markdown/compare/v0.32.0...v0.33.0> (patch, release-notes, third-party-advisory, web)
- <https://vuln.ryotak.me/advisories/15> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28796> (advisory)
- <https://github.com/advisories/GHSA-f2c9-5jqw-3xh3> (advisory)
- <https://github.com/increments/qiita-markdown> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/qiita-markdown/CVE-2021-28796.yml> (web)

## Sources

- CVE List: [CVE-2021-28796](https://www.cve.org/CVERecord?id=CVE-2021-28796), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-f2c9-5jqw-3xh3](https://github.com/advisories/GHSA-f2c9-5jqw-3xh3), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-28796](https://nvd.nist.gov/vuln/detail/CVE-2021-28796), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28796 · Whole record: https://cve.day/CVE-2021-28796.json · Rebuilt by cve.day 2026-11-25T22:58:00.333Z
