<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-08T17:03:52.713642+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-270447</id>
    <title>EUVD-2026-270447</title>
    <updated>2026-10-08T17:03:52.773898+00:00</updated>
    <content>EUVD-2026-270447</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-270447"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-27120</id>
    <title>fkie_cve-2026-27120</title>
    <updated>2026-10-08T17:03:52.773949+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Leafkit is a templating language with Swift-inspired syntax. Prior to 1.4.1, htmlEscaped in leaf-kit will only escape html special characters if the extended grapheme clusters match, which allows bypassing escaping by using an extended grapheme cluster containing both the special html character and some additional characters. In the case of html attributes, this can lead to XSS if there is a leaf variable in the attribute that is user controlled. This vulnerability is fixed in 1.4.1.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-27120"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-4hfh-fch3-5q7p</id>
    <title>GHSA-4hfh-fch3-5q7p — Leaf-kit html escaping does not work on characters that are part of extended grapheme cluster</title>
    <updated>2026-10-08T17:03:52.774001+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> SwiftURL: github.com/vapor/leaf-kit</p>
<p>### Summary</p>
<p>`htmlEscaped` in leaf-kit will only escape html  special characters if the extended grapheme clusters match, which allows bypassing escaping by using an extended grapheme cluster containing both the special html character and some additional characters. In the case of html attributes, this can lead to XSS if there is a leaf variable in the attribute that is user controlled.</p>
<p>### Details</p>
<p>Relevant code:
https://github.com/vapor/leaf-kit/blob/main/Sources/LeafKit/String%2BHTMLEscape.swift#L14</p>
<p>Strings in Swift are based on extended grapheme clusters. HTML on the other hand is based on unicode characters.</p>
<p>For example if you have the sequence "́  (U+0022 Quotation mark followed by U+0301 Combining Acute Accent). To HTML this is just a quote mark followed by some other random character. To swift this is one extended grapheme cluster that does not equal a quotation mark by itself which is a different extended grapheme cluster.</p>
<p>Thus `"\"́".replacingOccurrences(of: "\"", with: "&amp;quot;")` does not replace the quote mark. This allows you to break out of html attributes.</p>
<p>I believe replacingOccurences takes an optional third parameter that allows you to specify options to make it work on UTF-8 characters instead of grapheme clusters, which would be a good fix for this issue.</p>
<p>I see depending on version, leafkit might use `replacing` instead of `replacingOccurences`. I don't know swift that well and couldn't find docs on what replacing does, so I don't know if both versi…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-4hfh-fch3-5q7p"/>
  </entry>
</feed>
