guest@ro0t: ~ — bash theme: [green] [amber]

guest@ro0t:~$ echo $MOTD

notes, code and logs from the superuser

guest@ro0t:~/cve$ cat cve-2026-133779.md

[MEDIUM 5.3] # CVE-2026-133779: The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. T...

by darthoreo · · in cve/

#cwe-79 #medium

CVE-2026-133779 · severity: MEDIUM · CVSS 5.3 (v4.0)

Description

The fix for CVE-2026-55877 (GHSA-6v8j-33hc-mv84) sanitizes the SVG of icons before they are rendered inline. The checks matched attribute names as written in the icon, while browsers and the renderer read some names differently.

On 2.x, fromFile() keys the attributes of the root <svg> element by their local name. A handler like x:onload passed the check, and was then rendered as onload, which runs on load. HTML parsers also read attribute names case-insensitively, so a SMIL animation with ATTRIBUTENAME="href" could set a javascript: URL on a link. And an href in the XLink namespace under another prefix, like q:href, wasn't checked. On 3.x, the sanitizer writes it out as xlink:href, and XML parsers resolve the prefix on both branches.

Applications are exposed when an attacker can influence the SVG of the icons they render. The sources are the same as for CVE-2026-55877, like local icon files and the responses of the Iconify API.

The sanitizer now checks attributes by local name. It also finds the attributeName of animations in any case, and ignores the prefix of its value.

Details

  • status: Received
  • published: 2026-11-24 04:17 EST
  • last modified: 2026-11-24 04:17 EST
  • weakness: CWE-79
  • vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

References

-- EOF --

[ cd .. ]