CVE-2026-56858: Fix Javascript regexp context tracking in html/template

Published Aug 13, 2026
·
Updated

Fix Javascript regexp context tracking in html/template

Other sources

Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.

— MITRE

Affected Software

2 affected componentsFixes available
html/template
alpine/go<1.26.8-r0
1.26.8-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/go to a version that resolves this vulnerability.

    Fixed in 1.26.8-r0

Event History

Aug 13, 2026
CVE Published
via MITRE·09:58 PM
Data Sourced
via MITRE·09:58 PM
DescriptionWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·10:17 PM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·10:25 PM
DescriptionSeverityAffected Software
Aug 21, 2026
Data Sourced
via Microsoft·05:02 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-56858?

The severity of CVE-2026-56858 is rated as 56, indicating a moderate risk level.

2

What type of vulnerability is identified in CVE-2026-56858?

CVE-2026-56858 is classified as an XSS (Cross-Site Scripting) vulnerability.

3

How do I fix CVE-2026-56858?

To fix CVE-2026-56858, ensure that input data is properly escaped before being processed by the HTML/template package.

4

What can be exploited in CVE-2026-56858?

CVE-2026-56858 can be exploited through pathological inputs that lead to injection of arbitrary content via XSS.

5

When was CVE-2026-56858 published?

CVE-2026-56858 was published on August 13, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203