Advisory

UBUNTU-CVE-2024-27285

Also known as: CVE-2024-27285

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2024-02-29 00:00 UTC
Modified
2026-02-04 04:00 UTC

Affected packages and fixes

yard

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 0.9.24-1+deb11u1build0.20.04.1 (ecosystem)

Fixed versions

0.9.24-1+deb11u1build0.20.04.1

Fix

  • Fixed version 0.9.24-1+deb11u1build0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

yard

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.9.26-1ubuntu0.1 (ecosystem)

Fixed versions

0.9.26-1ubuntu0.1

Fix

  • Fixed version 0.9.26-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences