CVE-2021-28796: Cross-Site Scripting in Qiita-Markdown
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.44333%
CWE
Published
8/2/2021
Updated
9/5/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
qiita-markdown | rubygems | < 0.33.0 | 0.33.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input sanitization in Markdown transformers handling URI attributes. Commit messages reference XSS fixes in transformers and URI error handling. Advisories specifically mention javascript:
URI exploitation in iframes, indicating the vulnerable code paths involve URI processing in embed/image link transformers and script filtering components. The patched version 0.33.0
would have added proper URI scheme validation and sanitization in these transformation layers.