CVE-2023-39318

CVSS 3.1 Score 6.1 of 10 (medium)

Details

Published Sep 8, 2023
Updated: Nov 25, 2023
CWE ID 79

Summary

CVE-2023-39318 is a vulnerability affecting the html/template package. The issue lies in the package's handling of comments in <script> contexts. Specifically, it fails to properly interpret HTML-like "//" and hashbang "#!" comment tokens. As a result, the template parser may incorrectly interpret the contents of <script> contexts, potentially leading to Cross-Site Scripting (XSS) attacks. Attackers could inject malicious scripts, posing a significant security risk. It is essential for users to update the affected package to mitigate this vulnerability.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share