Skip to content

Bump pymdown-extensions to 11 to clear Dependabot #18 - #265

Merged
chris-colinsky merged 1 commit into
mainfrom
chore/bump-pymdown-extensions
Aug 8, 2026
Merged

Bump pymdown-extensions to 11 to clear Dependabot #18#265
chris-colinsky merged 1 commit into
mainfrom
chore/bump-pymdown-extensions

Conversation

@chris-colinsky

Copy link
Copy Markdown
Member

Summary

Clears Dependabot alert #18: pymdown-extensions <= 10.21.3 has a path traversal in the b64 extension (a crafted <img src> can read files outside base_path), fixed in 11.0.0. Our <11 constraint pinned the vulnerable 10.21.3.

Change

  • pyproject.toml: pymdown-extensions>=10.0,<11 to >=11.0,<12.
  • uv.lock: re-locked, 10.21.3 to 11.0.1. Single-package bump, no cascade (mkdocs-material >=10.2 and mkdocstrings >=6.3 carry no upper cap).

Notes / risk

Dev/docs-only dependency, and the vulnerable b64 extension is not in our markdown_extensions config, so the exposure was low regardless. Verified mkdocs build --strict passes on 11.0.1 (major bump; the docs use only stable core pymdownx extensions: details, emoji, superfences, highlight, inlinehilite, tabbed, tasklist).

Dependabot 18: pymdown-extensions <= 10.21.3 has a path traversal in
the b64 extension (an <img src> can read files outside base_path),
fixed in 11.0.0. The <11 constraint pinned the vulnerable version;
raise it to >=11,<12 and re-lock (10.21.3 -> 11.0.1). Dev/docs-only
dependency, and the b64 extension is not in our markdown_extensions,
so the risk was low; the bump clears the alert. mkdocs build --strict
passes on 11.0.1.
Copilot AI lite review requested due to automatic review settings August 7, 2026 02:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the docs/dev dependency pymdown-extensions to the 11.x line to address Dependabot alert #18 (path traversal vulnerability in the b64 extension fixed in 11.0.0+), aligning the project’s docs toolchain with the patched release.

Changes:

  • Bumped the docs dependency constraint from pymdown-extensions>=10.0,<11 to >=11.0,<12 in pyproject.toml.
  • Re-locked dependencies in uv.lock, updating pymdown-extensions from 10.21.3 to 11.0.1 and updating the corresponding docs group specifier.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Updates the docs dependency constraint to pymdown-extensions>=11.0,<12.
uv.lock Reflects the re-lock with pymdown-extensions==11.0.1 and the updated docs group constraint.

@chris-colinsky
chris-colinsky merged commit d800a04 into main Aug 8, 2026
7 checks passed
@chris-colinsky
chris-colinsky deleted the chore/bump-pymdown-extensions branch August 8, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants