> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/hosting/nodejs/patch-node-js-vulnerabilities.md).

# Patch Node.js vulnerabilities

Patches the selected Node.js vulnerabilities by updating the affected package versions in package.json and opening a GitHub pull request in the connected repository.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities/patch" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
