CVE-2023-29453
Last modified
CVE-2023-29453 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. EPSS estimates a 0.75% chance of exploitation in the next 30 days.
Description
Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g., "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template. Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zabbix | Zabbix-Agent2 | >= 5.0.0, < 5.0.35 |
| Zabbix | Zabbix-Agent2 | >= 6.0.0, < 6.0.18 |
| Zabbix | Zabbix-Agent2 | >= 6.4.0, < 6.4.3 |
References
- https://support.zabbix.com/browse/ZBX-23388Vendor Advisory
- https://support.zabbix.com/browse/ZBX-23388Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-29453?
How severe is CVE-2023-29453?
How do I fix CVE-2023-29453?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-29447An insufficiently protected credentials vulnerability in KEP…5.3
- CVE-2023-29449JavaScript preprocessing, webhooks and global scripts can ca…4.9
- CVE-2023-2945Missing Authorization in GitHub repository openemr/openemr p…5.4
- CVE-2023-29450JavaScript pre-processing can be used by the attacker to gai…7.5
- CVE-2023-29451Specially crafted string can cause a buffer overrun in the J…7.5
- CVE-2023-29452 Currently, geomap configuration (Administration -> General …5.4
- CVE-2023-29454Stored or persistent cross-site scripting (XSS) is a type of…5.4
- CVE-2023-29455Reflected XSS attacks, also known as non-persistent attacks,…6.1
- CVE-2023-29456URL validation scheme receives input from a user and then pa…5.4
- CVE-2023-29457Reflected XSS attacks, occur when a malicious script is refl…6.1
- CVE-2023-29458Duktape is an 3rd-party embeddable JavaScript engine, with a…7.5
- CVE-2023-29459The laola.redbull application through 5.1.9-R for Android ex…6.1
Are you affected by CVE-2023-29453?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
