CVE-2024-27285
Published: 29 February 2024
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.
Priority
Status
Package | Release | Status |
---|---|---|
yard Launchpad, Ubuntu, Debian |
bionic |
Released
(0.9.12-2ubuntu0.1~esm1)
Available with Ubuntu Pro |
focal |
Released
(0.9.24-1+deb11u1build0.20.04.1)
|
|
jammy |
Released
(0.9.26-1ubuntu0.1)
|
|
mantic |
Released
(0.9.28-2ubuntu0.1)
|
|
noble |
Not vulnerable
(0.9.36-1)
|
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Released
(0.9.36)
|
|
xenial |
Released
(0.8.7.6+git20160220-3ubuntu0.1~esm1)
Available with Ubuntu Pro |
References
- https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc
- https://github.com/lsegal/yard/commit/d78fc393d603c4fc35975969296ed381146a29d4 (v0.9.35)
- https://github.com/lsegal/yard/commit/c88406e4b78f8dd4ba38c79eea0bcec716dbbef8 (v0.9.36)
- https://github.com/lsegal/yard/commit/2a0b9990b64ceeeb0456177c593e36e204a06df1 (v0.9.36)
- https://github.com/lsegal/yard/commit/a831a596b2a7cabdd2e17855dd179af2ebf3d559 (v0.9.36)
- https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be
- https://www.cve.org/CVERecord?id=CVE-2024-27285
- https://ubuntu.com/security/notices/USN-6731-1
- NVD
- Launchpad
- Debian