CVE-2024-22048
published medium CVSS 3.1 · 6.1govuk_tech_docs XSS Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | govuk_tech_docs2.0.2 to < 3.3.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| govuk_tech_docs | 2.0.2 to < 3.3.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- GitHub Security Advisory (GHSA-x2xw-hw8g-6773) https://github.com/advisories/GHSA-x2xw-hw8g-6773
- https://github.com/alphagov/tech-docs-gem/pull/323
- tech-docs-gem 3.3.1 Release Notes https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1
- GitHub Security Advisory (GHSA-x2xw-hw8g-6773) https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773
- https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773
Provider assertions
3VulnCheck · cna
govuk_tech_docs XSS Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8b5542321c1b652eec59b94689e82088182c558ca693e81d789761937c90b70
- Ingested
- 08 Nov 2026, 14:03:33 UTC
- Source record
- Official CVE record