Skip to content
OpenAdvisories
Medium USN-8194-1 3 CVEs

php-league-commonmark vulnerabilities

Published Apr 21, 2026 · Updated Apr 27, 2026

Summary

It was discovered that league/commonmark did not properly restrict
unsafe attributes when the Attributes extension was enabled. An attacker
could possibly use this issue to cause cross-site scripting by injecting
malicious code into rendered HTML. This issue only affected Ubuntu 22.04
LTS and Ubuntu 24.04 LTS. (CVE-2025-46734)

It was discovered that league/commonmark did not properly block certain
disallowed HTML tags in some cases. An attacker could possibly use this
issue to cause cross-site scripting by inserting malicious HTML that
bypassed filtering. (CVE-2026-30838)

It was discovered that league/commonmark did not properly enforce domain
allowlist checks in the Embed extension. An attacker could possibly use
this issue to bypass domain restrictions and cause untrusted content to
be treated as allowed. This issue only affected Ubuntu 24.04 LTS.
(CVE-2026-33347)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS php-league-commonmark 1.3.1-1ubuntu2+esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS php-league-commonmark 1.6.7-1ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS php-league-commonmark 2.4.2-2ubuntu0.1~esm1

Vulnerabilities 3

References

  • report
    https://ubuntu.com/security/CVE-2025-46734
  • report
    https://ubuntu.com/security/CVE-2026-30838
  • report
    https://ubuntu.com/security/CVE-2026-33347