| Package | Installed | Affected | Info |
|---|---|---|---|
| weasyprint | 67.0 | <68.0 |
show Affected versions of the weasyprint package are vulnerable to Server-Side Request Forgery (SSRF) due to insufficient validation of redirect destinations in the URL fetching mechanism. The default_url_fetcher function in weasyprint/urls.py relies on Python's urllib.request.urlopen, which automatically follows HTTP redirects (301, 302, 307) without re-invoking the developer's custom url_fetcher validation logic, creating a Time-of-Check to Time-of-Use (TOCTOU) condition. An attacker can supply an external URL that passes initial security checks but redirects to internal network resources such as localhost services or cloud metadata endpoints, enabling exfiltration of sensitive data, including instance credentials. |
| Package | Installed | Affected | Info |
|---|---|---|---|
| weasyprint | 67.0 | <68.0 |
show Affected versions of the weasyprint package are vulnerable to Server-Side Request Forgery (SSRF) due to insufficient validation of redirect destinations in the URL fetching mechanism. The default_url_fetcher function in weasyprint/urls.py relies on Python's urllib.request.urlopen, which automatically follows HTTP redirects (301, 302, 307) without re-invoking the developer's custom url_fetcher validation logic, creating a Time-of-Check to Time-of-Use (TOCTOU) condition. An attacker can supply an external URL that passes initial security checks but redirects to internal network resources such as localhost services or cloud metadata endpoints, enabling exfiltration of sensitive data, including instance credentials. |
https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/python-3-shield.svg
[](https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/)
.. image:: https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/python-3-shield.svg
:target: https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/
:alt: Python 3
<a href="https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/"><img src="https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/shield.svg" alt="Python 3" /></a>
!https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/python-3-shield.svg(Python 3)!:https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/
{<img src="https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/python-3-shield.svg" alt="Python 3" />}[https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/]
https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/shield.svg
[](https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/)
.. image:: https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/shield.svg
:target: https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/
:alt: Updates
<a href="https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/"><img src="https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/shield.svg" alt="Updates" /></a>
!https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/shield.svg(Updates)!:https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/
{<img src="https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/shield.svg" alt="Updates" />}[https://pyup.io/repos/github/toonarmycaptain/worksheet_generator/]