Bug 1220646 (CVE-2024-27285) - VUL-0: CVE-2024-27285: rubygem-yard: XSS in generated frames.html of default YARD template
Summary: VUL-0: CVE-2024-27285: rubygem-yard: XSS in generated frames.html of default ...
Status: NEW
Alias: CVE-2024-27285
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Marcus Rückert
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/395572/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-27285:5.4:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-29 10:11 UTC by SMASH SMASH
Modified: 2024-07-03 05:22 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
stoyan.manolov: needinfo? (mrueckert)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-29 10:11:30 UTC
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.35.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-27285
https://www.cve.org/CVERecord?id=CVE-2024-27285
https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be
https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc
Comment 1 Carlos López 2024-02-29 10:12:35 UTC
Relevant for SUSE:SLE-12-SP1:Update, Backports and Factory.