Live threats

All CVEs / Thephpleague

CVE-2019-10010Thephpleague Commonmark

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Mar 24, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Cross-site scripting (XSS) vulnerability in the PHP League CommonMark library before 0.18.3 allows remote attackers to insert unsafe links into HTML by using double-encoded HTML entities that are not properly escaped during rendering, a different vulnerability than CVE-2018-20583.

Original NVD text.

What to do

  1. Apply the vendor's security update for Commonmark.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist league/commonmark < 0.18.3 0.18.3 composer require "league/commonmark:^0.18.3"

Per OSV / GitHub Advisories (GHSA-3v43-877x-qgmq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
thephpleaguecommonmark< 0.18.3

Official sources

References

Links published by the sources. Open them with care.