CVE-2024-22048
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
04/01/2024
Last modified:
29/11/2025
Description
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.
Impact
Base Score 3.x
6.10
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:gov.uk:govuk_tech_docs:*:*:*:*:*:ruby:*:* | 2.0.2 (including) | 3.3.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/advisories/GHSA-x2xw-hw8g-6773
- https://github.com/alphagov/tech-docs-gem/pull/323
- https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1
- https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773
- https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773
- https://github.com/advisories/GHSA-x2xw-hw8g-6773
- https://github.com/alphagov/tech-docs-gem/pull/323
- https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1
- https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773
- https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773



