GHSA-vc26-46g2-h3rp
Malicious code in extrahtml (PyPI)
Impact
## Source: kam193 (f004357dd044b3c2c644a1f759dcd47a154a37533635280af0f3b5adb76469a4) In this campaign, remote code is executed via a dependency pretending to be a YAML loader but embedding a special loader executing code from a provided file. During analysis, the code was just a stub. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-11-parseyaml Reasons (based on the campaign): - The malicious code is intentionally included in a dependency of the package - Downloads and executes a remote malicious script. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/969f507a97be83c63401d3842fb5393d027adc54/osv/malicious/pypi/extrahtml/MAL-2026-18771.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | extrahtml | = 0.1.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-vc26-46g2-h3rp
- https://bad-packages.kam193.eu/pypi/package/extrahtml
- https://github.com/ossf/malicious-packages/blob/969f507a97be83c63401d3842fb5393d027adc54/osv/malicious/pypi/extrahtml/MAL-2026-18771.json
- https://github.com/ossf/malicious-packages/blob/1b2f57bc8c5af82aae1f82ac9cb07c91a2c3249c/osv/malicious/pypi/extrahtml/MAL-2026-18771.json
- https://pypi.org/project/extrahtml/0.1.0
- https://pypi.org/project/extrahtml/0.1.1
- https://pypi.org/project/extrahtml/0.1.2