Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-24540

Summary
Assigner-Go
Assigner Org ID-1bb62c36-49e3-4200-9d77-64a1400537cc
Published At-11 May, 2023 | 15:29
Updated At-24 Jan, 2025 | 16:45
Rejected At-
Credits

Improper handling of JavaScript whitespace in html/template

Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:Go
Assigner Org ID:1bb62c36-49e3-4200-9d77-64a1400537cc
Published At:11 May, 2023 | 15:29
Updated At:24 Jan, 2025 | 16:45
Rejected At:
▼CVE Numbering Authority (CNA)
Improper handling of JavaScript whitespace in html/template

Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.

Affected Products
Vendor
Go standard library
Product
html/template
Collection URL
https://pkg.go.dev
Package Name
html/template
Program Routines
  • nextJSCtx
  • Template.Execute
  • Template.ExecuteTemplate
Default Status
unaffected
Versions
Affected
  • From 0 before 1.19.9 (semver)
  • From 1.20.0-0 before 1.20.4 (semver)
Problem Types
TypeCWE IDDescription
N/AN/ACWE-74: Improper input validation
Type: N/A
CWE ID: N/A
Description: CWE-74: Improper input validation
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Juho Nurminen of Mattermost
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://go.dev/issue/59721
N/A
https://go.dev/cl/491616
N/A
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
N/A
https://pkg.go.dev/vuln/GO-2023-1752
N/A
Hyperlink: https://go.dev/issue/59721
Resource: N/A
Hyperlink: https://go.dev/cl/491616
Resource: N/A
Hyperlink: https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
Resource: N/A
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1752
Resource: N/A
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://go.dev/issue/59721
x_transferred
https://go.dev/cl/491616
x_transferred
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
x_transferred
https://pkg.go.dev/vuln/GO-2023-1752
x_transferred
https://security.netapp.com/advisory/ntap-20241115-0008/
N/A
Hyperlink: https://go.dev/issue/59721
Resource:
x_transferred
Hyperlink: https://go.dev/cl/491616
Resource:
x_transferred
Hyperlink: https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
Resource:
x_transferred
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1752
Resource:
x_transferred
Hyperlink: https://security.netapp.com/advisory/ntap-20241115-0008/
Resource: N/A
2. CISA ADP Vulnrichment
Affected Products
Problem Types
TypeCWE IDDescription
CWECWE-77CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Type: CWE
CWE ID: CWE-77
Description: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Metrics
VersionBase scoreBase severityVector
3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security@golang.org
Published At:11 May, 2023 | 16:15
Updated At:24 Jan, 2025 | 17:15

Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Secondary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Primary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CPE Matches

Go
golang
>>go>>Versions before 1.19.9(exclusive)
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Go
golang
>>go>>Versions from 1.20.0(inclusive) to 1.20.4(exclusive)
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
NVD-CWE-noinfoPrimarynvd@nist.gov
CWE-77Secondary134c704f-9b21-4f2e-91b3-4a467353bcc0
CWE ID: NVD-CWE-noinfo
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-77
Type: Secondary
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://go.dev/cl/491616security@golang.org
Patch
https://go.dev/issue/59721security@golang.org
Issue Tracking
Patch
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsUsecurity@golang.org
Mailing List
Release Notes
https://pkg.go.dev/vuln/GO-2023-1752security@golang.org
Vendor Advisory
https://go.dev/cl/491616af854a3a-2127-422b-91ae-364da2661108
Patch
https://go.dev/issue/59721af854a3a-2127-422b-91ae-364da2661108
Issue Tracking
Patch
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsUaf854a3a-2127-422b-91ae-364da2661108
Mailing List
Release Notes
https://pkg.go.dev/vuln/GO-2023-1752af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
https://security.netapp.com/advisory/ntap-20241115-0008/af854a3a-2127-422b-91ae-364da2661108
N/A
Hyperlink: https://go.dev/cl/491616
Source: security@golang.org
Resource:
Patch
Hyperlink: https://go.dev/issue/59721
Source: security@golang.org
Resource:
Issue Tracking
Patch
Hyperlink: https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
Source: security@golang.org
Resource:
Mailing List
Release Notes
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1752
Source: security@golang.org
Resource:
Vendor Advisory
Hyperlink: https://go.dev/cl/491616
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://go.dev/issue/59721
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Issue Tracking
Patch
Hyperlink: https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Mailing List
Release Notes
Hyperlink: https://pkg.go.dev/vuln/GO-2023-1752
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Vendor Advisory
Hyperlink: https://security.netapp.com/advisory/ntap-20241115-0008/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found