Skip to content
OpenAdvisories
None · 0.0 Public exploit CVE-2024-38526 EUVD-2024-1935GHSA-5vgj-ggm4-fg62PYSEC-2026-1764

pdoc embeds link to malicious CDN if math mode is enabled

Published Jun 25, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

pdoc provides API Documentation for Python Projects. Documentation generated with `pdoc --math` linked to JavaScript files from polyfill.io. The polyfill.io CDN has been sold and now serves malicious code. This issue has been fixed in pdoc 14.5.1.

Affected products

VendorProductAffectedFixed
mitmproxy pdoc < 14.5.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP7 ghc-pandoc 3.1.11.1-150500.11.6.1 SUSE-SU-2025:02037-1
SLES 15 SP6 ghc-pandoc 3.1.11.1-150500.11.6.1 SUSE-SU-2025:02037-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed netpbm 11.7.0-1.1 openSUSE-SU-2024:14187-1
openSUSE Leap 15.6 ghc-pandoc 3.1.11.1-150500.11.6.1 SUSE-SU-2025:02037-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • padayali-JD/pollyscan ★ 6 · Feb 18, 2025

    A specialized vulnerability scanner designed to detect CVE-2024-38526, the Polyfill.io Supply Chain Attack, helping organizations identify and mitigate risks associated with compromised third-party d…

  • putget/CVE-2024-38526 ★ 0 · Sep 5, 2024

    CVE-2024-38526 - Polyfill Scanner

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pdoc < 14.5.1 14.5.1 GHSA-5vgj-ggm4-fg62

Advisories 3

References