XSS in Gov.uk Govuk Tech Docs
CVE-2024-22048
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 43.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, leoambrus/artefactswithoutCVEonGitHubAdvisoryDatabase). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- GitHub Security Advisory (GHSA-x2xw-hw8g-6773) (vendor-advisory, Vendor Advisory)
- github.com/alphagov/tech-docs-gem/pull/323 (issue-tracking, Patch, patch, Vendor Advisory)
- tech-docs-gem 3.3.1 Release Notes (release-notes, related, Patch, Release Notes)
- GitHub Security Advisory (GHSA-x2xw-hw8g-6773) (vendor-advisory, Patch, Vendor Advisory, third-party-advisory)
- vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773 (Patch, Third Party Advisory, third-party-advisory)