{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-05-06T07:28:47.844","vulnerabilities":[{"cve":{"id":"CVE-2026-27120","sourceIdentifier":"security-advisories@github.com","published":"2026-02-20T22:16:29.830","lastModified":"2026-03-02T13:34:09.307","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Leafkit es un lenguaje de plantillas con sintaxis inspirada en Swift. Antes de la versión 1.4.1, htmlEscaped en leaf-kit solo escapará los caracteres especiales HTML si los clústeres de grafemas extendidos coinciden, lo que permite eludir el escape utilizando un clúster de grafemas extendido que contenga tanto el carácter especial HTML como algunos caracteres adicionales. En el caso de los atributos HTML, esto puede llevar a XSS si hay una variable leaf en el atributo que está controlada por el usuario. Esta vulnerabilidad está corregida en la versión 1.4.1."}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Primary","description":[{"lang":"en","value":"CWE-75"},{"lang":"en","value":"CWE-79"},{"lang":"en","value":"CWE-87"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vapor:leafkit:*:*:*:*:*:*:*:*","versionEndExcluding":"1.14.1","matchCriteriaId":"1C7EB8C5-FF4D-411D-900E-B94DFC1235DF"}]}]}],"references":[{"url":"https://github.com/vapor/leaf-kit/commit/8919e39476c3a4ba05c28b71546bb9195f87ef34","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/vapor/leaf-kit/security/advisories/GHSA-4hfh-fch3-5q7p","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]}]}}]}