CVE-2024-22048
govuk_tech_docs XSS Vulnerability
- State
- Published
- Severity
- 6.1 Medium
- Published
- Jan 4, 2024
- Updated
- Jul 14, 2026
- Reserved
- Jan 4, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.1 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
govuk_tech_docs |
|
References
- https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773vendor-advisory
- https://github.com/alphagov/tech-docs-gem/pull/323issue-tracking
- https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1related
- https://github.com/advisories/GHSA-x2xw-hw8g-6773vendor-advisory
- https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.