{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-22048","published":"2024-01-04T21:15:09.940000Z","last_modified":"2026-07-14T23:17:14.953000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:gov.uk:govuk_tech_docs:*:*:*:*:*:ruby:*:*","part":"a","vendor":"gov.uk","product":"govuk_tech_docs","version_start_including":"2.0.2","version_end_excluding":"3.3.1"}],"cpes_truncated":false,"vendors":["gov.uk"],"products":["gov.uk/govuk_tech_docs"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00654,"percentile":0.46111,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-x2xw-hw8g-6773","ecosystem":"RubyGems","name":"govuk_tech_docs","purl":"pkg:gem/govuk_tech_docs","ranges":[{"introduced":"2.0.2","fixed":"3.3.1"}],"versions":["2.0.10","2.0.11","2.0.12","2.0.13","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","3.0.0","3.0.1","3.1.0","3.2.0","3.2.1","3.3.0"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2024-22048/","html_en":"/en/cve/CVE-2024-22048/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-22048","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-22048"},"untrusted":{"vendor_name":"Gov.uk","product_name":"Govuk Tech Docs","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/advisories/GHSA-x2xw-hw8g-6773","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/alphagov/tech-docs-gem/pull/323","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1","tags":["Patch","Release Notes"]},{"url":"https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773","tags":["Vendor Advisory"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773","tags":["Patch","Third Party Advisory"]}]}}