CVE-2024-22048
Gov.uk Govuk Tech Docs vulnerability
govuk_tech_docs versions from 2.0.2 to before 3.3.1 are vulnerable to a cross-site scripting vulnerability. Malicious JavaScript may be executed in the user's browser if a malicious search result is displayed on the search page.
Affected products
Govuk Tech Docs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gov.uk Govuk Tech Docs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/advisories/GHSA-x2xw-hw8g-6773 · Patch
- github.com/alphagov/tech-docs-gem/pull/323 · Patch
- github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773 · Vendor Advisory
- github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1 · Patch
- vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-22048
- cve.org/CVERecord?id=CVE-2024-22048
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.