CVE-2024-27285
Last modified
CVE-2024-27285 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 1.06% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yardoc | Yard | < 0.9.36 |
| Fedoraproject | Fedora | 38 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/lsegal/yard/pull/1538Issue Tracking, Patch
- https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrcExploit, Vendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.ymlExploit, Third Party Advisory
- https://github.com/lsegal/yard/pull/1538Issue Tracking, Patch
- https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrcExploit, Vendor Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.ymlExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27285?
How severe is CVE-2024-27285?
How do I fix CVE-2024-27285?
Are you affected by CVE-2024-27285?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
