CVE-2024-27285
MEDIUM5.4EPSS 3.3%yard - security update
Published: 2/28/2024Modified: 4/28/2026
Description
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.
Affected packages (3)
- Debian/yardfrom 0, < 0.9.24-1+deb11u1
- Debian/yardfrom 0, < 0.9.24-1+deb11u1
- RubyGems/yardfrom 0, < 0.9.36
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
References (11)
- ADVISORYhttps://github.com/advisories/GHSA-8mq4-9jjh-9xrc
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-27285
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-27285
- PATCHhttps://github.com/lsegal/yard
- WEBhttps://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa
- WEBhttps://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be
- WEBhttps://github.com/lsegal/yard/pull/1538
- WEBhttps://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml
- WEBhttps://lists.debian.org/debian-lts-announce/2024/03/msg00006.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA