CVE-2024-22048Gov.uk Govuk Tech Docs
Medium 6.1 No auth needed
Follow: this CVE · Gov.uk · Gov.uk Govuk Tech Docs We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 46
- Auth required
- No
- Published
- Jan 4, 2024
- Updated
- Jul 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Govuk Tech Docs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | govuk_tech_docs |
≥ 2.0.2 < 3.3.1 |
3.3.1 |
gem "govuk_tech_docs", ">= 3.3.1" |
Per OSV / GitHub Advisories (GHSA-x2xw-hw8g-6773). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gov.uk | govuk_tech_docs | ≥ 2.0.2 < 3.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Patch Release Notes
- github.com Vendor Advisory
- vulncheck.com Patch Third Party Advisory