Skip to content

Upgrade prawn-svg to address CVE-2026-53727 #2648

Description

@alsutton

Asciidoctor version

2.3.24

Description

The vulnerable css_parser gem is coming in through a transitive dependency via the prawn-svg gem. Trying to force it to a non-vulnerable version fails with the error below when running bundle update;

Could not find compatible versions

Because asciidoctor-pdf >= 2.3.14 depends on prawn-svg ~> 0.34.0
  and Gemfile depends on asciidoctor-pdf >= 2.3.24, < 3.A,
  prawn-svg ~> 0.34.0 is required.
So, because Gemfile depends on prawn-svg >= 0.40.3,
  version solving has failed.

Sample document

N/A - Dependency chain issue

Expected behavior

Ability to upgrade to a non-vulnerable css_parser version to ensure our SBOM doesn't contain any red flags about vulnerable dependencies which cause concern for users.

Actual behavior

Dependency update blocked by the Gemfile conditions in the current latest release.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions