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 "…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.033 (87.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Lsegal Yard — versions < 0.9.36
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc (x_refsource_CONFIRM)
- https://github.com/lsegal/yard/pull/1538 (x_refsource_MISC)
- https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa (x_refsource_MISC)
- https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be (x_refsource_MISC)
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml (x_refsource_MISC)
- lists.debian.org/debian-lts-announce/2024/03/msg00006.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
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.