{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-22048", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2024-01-04T18:44:53.107Z", "datePublished": "2024-01-04T20:39:59.670Z", "dateUpdated": "2026-07-14T22:54:38.586Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://rubygems.org", "defaultStatus": "unaffected", "packageURL": "pkg:gem/govuk_tech_docs", "packageName": "govuk_tech_docs", "versions": [ { "lessThan": "3.3.1", "status": "affected", "version": "2.0.2", "versionType": "semver" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:gov.uk:govuk_tech_docs:*:*:*:*:*:ruby:*:*", "versionEndExcluding": "3.3.1", "versionStartIncluding": "2.0.2", "vulnerable": true } ], "negate": false, "operator": "OR" } ], "operator": "OR" } ], "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "

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.

" } ], "value": "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." } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-79", "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-07-14T22:54:38.586Z" }, "references": [ { "tags": [ "vendor-advisory" ], "url": "https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773" }, { "tags": [ "issue-tracking" ], "url": "https://github.com/alphagov/tech-docs-gem/pull/323" }, { "tags": [ "related" ], "url": "https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1" }, { "tags": [ "vendor-advisory" ], "url": "https://github.com/advisories/GHSA-x2xw-hw8g-6773" }, { "tags": [ "third-party-advisory" ], "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773" } ], "source": { "discovery": "INTERNAL" }, "title": "govuk_tech_docs XSS Vulnerability", "x_generator": { "engine": "vulncheck" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-01T22:35:34.627Z" }, "title": "CVE Program Container", "references": [ { "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773" }, { "tags": [ "patch", "x_transferred" ], "url": "https://github.com/alphagov/tech-docs-gem/pull/323" }, { "tags": [ "related", "x_transferred" ], "url": "https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1" }, { "tags": [ "third-party-advisory", "x_transferred" ], "url": "https://github.com/advisories/GHSA-x2xw-hw8g-6773" }, { "tags": [ "third-party-advisory", "x_transferred" ], "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773" } ] }, { "problemTypes": [ { "descriptions": [ { "type": "CWE", "cweId": "CWE-79", "lang": "en", "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')" } ] } ], "metrics": [ { "cvssV3_1": { "scope": "CHANGED", "version": "3.1", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2024-03-13T18:55:05.958271Z", "id": "CVE-2024-22048", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-06-04T21:13:59.263Z" } } ] } }