{"id":"CVE-2024-22048","published":"2024-01-04T20:39:59Z","modified":"2026-11-08T13:59:54Z","title":"govuk_tech_docs XSS Vulnerability","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00504,"percentile":0.44011,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773","tags":["vendor-advisory"]},{"url":"https://github.com/alphagov/tech-docs-gem/pull/323","tags":["issue-tracking","patch"]},{"url":"https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1","tags":["related","release-notes"]},{"url":"https://github.com/advisories/GHSA-x2xw-hw8g-6773","tags":["vendor-advisory"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773","tags":["third-party-advisory"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":8.8},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 2.0.2, < 3.3.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-13T18:55:05.958271Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"govuk_tech_docs","vulnerableRanges":[">=2.0.2, <3.3.1"],"patched":["3.3.1"],"from":["GHSA-x2xw-hw8g-6773"],"provenance":"source"}],"summary":{"text":"The govuk_tech_docs component (versions 2.0.2 up to but not including 3.3.1) contains a cross-site scripting flaw in which malicious JavaScript can be executed in a user's browser when a crafted search result is rendered on the search page. Exploitation requires no privileges and no network access beyond reaching the affected application, but it does require a user to interact with the page while a malicious search result is displayed, and the resulting script runs with the user's browser context.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:14Z"},"euvd":{"id":"EUVD-2023-1419","exploited":false,"provenance":"source"}}