{"id":"CVE-2024-22048","aliases":["GHSA-x2xw-hw8g-6773"],"url":"https://o3.security/vulnerability/CVE-2024-22048","summary":"govuk_tech_docs XSS Vulnerability","details":"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.","published":"2024-01-04T20:39:59.670Z","modified":"2026-07-16T03:31:02.790323726Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"govuk_tech_docs","fixedVersion":"3.3.1"}],"fix":{"url":"https://github.com/alphagov/tech-docs-gem/pull/323","label":"alphagov/tech-docs-gem#323"},"references":[{"type":"WEB","url":"https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1"},{"type":"WEB","url":"https://rubygems.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22048.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x2xw-hw8g-6773"},{"type":"ADVISORY","url":"https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22048"},{"type":"ADVISORY","url":"https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773"},{"type":"REPORT","url":"https://github.com/alphagov/tech-docs-gem/pull/323"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-16T03:31:02.790323726Z"}}