{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-22048","id":"CVE-2024-22048","title":"govuk_tech_docs XSS Vulnerability","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.","descriptionLong":"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","updated":"2026-11-09T02:45:45.180015582Z","reserved":"2024-01-04T18:44:53.107Z","status":"Modified","rejected":false,"assigner":"VulnCheck","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["govuk_tech_docs"],"affectedProducts":[{"vendor":"","product":"govuk_tech_docs","defaultStatus":"unaffected","versions":[{"lessThan":"3.3.1","status":"affected","version":"2.0.2","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"govuk_tech_docs","purl":"pkg:gem/govuk_tech_docs","ranges":[">=2.0.2 <3.3.1"],"fixed":["3.3.1"],"advisory":"GHSA-x2xw-hw8g-6773"}],"cwes":["CWE-79","CWE-80"],"aliases":["GHSA-x2xw-hw8g-6773"],"references":[{"url":"https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773","tags":["vendor-advisory","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/alphagov/tech-docs-gem/pull/323","tags":["issue-tracking","patch","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1","tags":["related","release-notes","x_transferred","Patch","Release Notes","advisory","web"]},{"url":"https://github.com/advisories/GHSA-x2xw-hw8g-6773","tags":["vendor-advisory","third-party-advisory","x_transferred","Patch","Vendor Advisory","advisory"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773","tags":["third-party-advisory","x_transferred","Patch","Third Party Advisory","advisory"]},{"url":"https://rubygems.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22048.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22048","tags":["advisory"]},{"url":"https://github.com/alphagov/tech-docs-gem/commit/a51c7058cec46bf2a4e25a1da62b14ac3fd46b53","tags":["web"]},{"url":"https://github.com/alphagov/tech-docs-gem","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/govuk_tech_docs/CVE-2024-22048.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00504,"epssPercentile":0.43869,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-22048","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22048","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-22048","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x2xw-hw8g-6773","ok":true,"note":"GHSA-x2xw-hw8g-6773"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-22048","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}