XSS in Lsegal Yard
CVE-2024-27285
YARD is a Ruby Documentation tool. The "frames.html" file within the Yard Doc's generated documentation is vulnerable to Cross-Site Scripting (XSS) attacks due to inadequate sanitization of user input within the JavaScript segment of the "frames.erb" template file. This vulnerability is fixed in 0.9.36.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.011 (63.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 63rd percentile — 63.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Lsegal Yard — versions < 0.9.36
- Yardoc Yard
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 38
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc (Exploit, Vendor Advisory)
- github.com/lsegal/yard/pull/1538 (Patch, Issue Tracking)
- github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa (Patch)
- github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be (Patch)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml (Exploit, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/03/msg00006.html (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
Frequently asked questions
- What is CVE-2024-27285?
- CVE-2024-27285 is a medium-severity vulnerability in Lsegal Yard, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2024-02-28.
- How severe is CVE-2024-27285?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2024-27285 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.