Bug 2526258 - CVE-2026-48988 forgejo: markdown-it: Denial of Service via quadratic processing of smartquotes with typographer enabled [epel-all]
Summary: CVE-2026-48988 forgejo: markdown-it: Denial of Service via quadratic processi...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: forgejo
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["71f48a1b-0719-4fd8-ad05-4...
Depends On:
Blocks: CVE-2026-48988
TreeView+ depends on / blocked
 
Reported: 2026-08-31 11:17 UTC by Marian Rehak
Modified: 2026-08-31 11:17 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-08-31 11:17:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

markdown-it is a Markdown parser. Versions 14.1.1 and below contain a denial-of-service vulnerability when typographer: true is enabled, due to quadratic (O(n^2)) processing in the smartquotes rule. The issue stems from repeatedly modifying strings with replaceAt(), which performs O(n) slicing and concatenation per quote character. This can cause excessive CPU consumption when parsing quote-heavy, user-supplied markdown and may let attackers degrade or disrupt service availability. Although typographer is disabled by default, many production apps enable it for smart typography, making the issue relevant. This issue has been fixed in version 14.2.0.


Note You need to log in before you can comment on or make changes to this bug.