# CVE-2019-10010: Moderate severity vulnerability that affects league/commonmark

- Severity: Medium 6.1 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-03-24T17:58:54.000Z
- Modified: 2026-06-17T02:10:01.933Z
- Also known as: GHSA-3v43-877x-qgmq
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- league/commonmark (Packagist): before 0.18.3
- thephpleague commonmark: before 0.18.3

## Every score

- GitHub: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/thephpleague/commonmark/issues/353> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/thephpleague/commonmark/releases/tag/0.18.3> (release-notes, third-party-advisory, web)
- <https://github.com/thephpleague/commonmark/security/advisories/GHSA-3v43-877x-qgmq> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10010> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/league/commonmark/CVE-2019-10010.yaml> (web)
- <https://github.com/advisories/GHSA-3v43-877x-qgmq> (advisory)
- <https://github.com/thephpleague/commonmark> (web)

## Sources

- CVE List: [CVE-2019-10010](https://www.cve.org/CVERecord?id=CVE-2019-10010), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3v43-877x-qgmq](https://github.com/advisories/GHSA-3v43-877x-qgmq), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2019-10010](https://nvd.nist.gov/vuln/detail/CVE-2019-10010), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10010 · Whole record: https://cve.day/CVE-2019-10010.json · Rebuilt by cve.day 2026-11-25T22:57:44.128Z
