# GHSA-VC26-46G2-H3RP: Malicious code in extrahtml (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-09
- Modified: 2026-11-12

## Affected versions

- extrahtml (PyPI): 0.1.0
- extrahtml (PyPI): 0.1.1
- extrahtml (PyPI): 0.1.2

## Description

## 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))

## References

- 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
- https://github.com/advisories/GHSA-vc26-46g2-h3rp

Page: https://cve.now/GHSA-VC26-46G2-H3RP

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
