| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2023-24539" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Improper sanitization of CSS values in html/template", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "Angle brackets (\u003c\u003e) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input." |
| } |
| ], |
| "affected": [ |
| { |
| "vendor": "Go standard library", |
| "product": "html/template", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "html/template", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "1.19.9", |
| "status": "affected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "1.20.0-0", |
| "lessThan": "1.20.4", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "cssValueFilter" |
| }, |
| { |
| "name": "escaper.commit" |
| }, |
| { |
| "name": "Template.Execute" |
| }, |
| { |
| "name": "Template.ExecuteTemplate" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-74: Improper input validation" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://go.dev/issue/59720" |
| }, |
| { |
| "url": "https://go.dev/cl/491615" |
| }, |
| { |
| "url": "https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2023-1751" |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "Juho Nurminen of Mattermost" |
| } |
| ] |
| } |
| } |
| } |