{"cve":"CVE-2024-22048","nvd":{"published":"2024-01-04T21:15:09.940","modified":"2026-07-14T23:17:14.953","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/advisories/GHSA-x2xw-hw8g-6773","https://github.com/alphagov/tech-docs-gem/pull/323","https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1","https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773","https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773"],"products":["gov.uk:govuk_tech_docs"],"source":"nvd","synced_at":"2026-10-19T21:43:38.875533635+00:00"},"epss":{"cve":"CVE-2024-22048","score":0.00504,"percentile":0.43118,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-x2xw-hw8g-6773","url":"https://osv.dev/vulnerability/GHSA-x2xw-hw8g-6773","summary":"govuk_tech_docs vulnerable to unescaped HTML on search results page","modified":"2026-07-08T06:53:00.738806674Z","packages":[{"ecosystem":"RubyGems","name":"govuk_tech_docs","purl":"pkg:gem/govuk_tech_docs","ranges":[">=2.0.2 <3.3.1"],"fixed":["3.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}