qiita-markdown Cross-site Scripting vulnerabilityGHSA-9p29-94hp-8rvc
MEDIUMFix: increments/qiita-markdown@b5d4e60GHSA-9p29-94hp-8rvc is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in qiita-markdown. A fix is available for qiita-markdown — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
qiita-markdownReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Increments Qiita::Markdown before 0.34.0 allows XSS via a crafted gist link, a different vulnerability than CVE-2021-28796.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | qiita-markdown | all versions | 0.34.0bundle update qiita-markdown --conservative |
Affected Products
qiita\incrementsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for qiita-markdown, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update qiita-markdown to 0.34.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9p29-94hp-8rvc is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-9p29-94hp-8rvc in your dependencies?
Find it across RubyGems, including transitive dependencies.