CVE-2026-71478

league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 1.5.0 until 2.9.0, the AttributesExtension's href and src unsafe-link filter can be bypassed by embedding control bytes, such as a tab, carriage return, line feed, or leading C0 control character, in a javascript: URL that browsers discard before parsing the scheme, causing the browser to still execute the script even when the unsafe-link filter is enabled. This issue is fixed in 2.9.0.
Configurations

No configuration.

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) league/commonmark es una biblioteca PHP para analizar y renderizar CommonMark Markdown. Desde 1.5.0 hasta 2.9.0, el filtro de enlaces no seguros href y src de AttributesExtension puede ser eludido incrustando bytes de control, como un tabulador, retorno de carro, salto de línea o un carácter de control C0 inicial, en una URL javascript_disabled: que los navegadores descartan antes de analizar el esquema, haciendo que el navegador siga ejecutando el script incluso cuando el filtro de enlaces no seguros está habilitado. Este problema está solucionado en 2.9.0.

Information

Published : 2026-08-06 22:18

Updated : 2026-10-24 15:10


NVD link : CVE-2026-71478

Mitre link : CVE-2026-71478

CVE.ORG link : CVE-2026-71478


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-86

Improper Neutralization of Invalid Characters in Identifiers in Web Pages

CWE-692

Incomplete Denylist to Cross-Site Scripting