Search

Find a vulnerability

Search criteria

    3 vulnerabilities by gov.uk

    FKIE_CVE-2024-22048

    Vulnerability from fkie_nvd - Published: 2024-01-04 21:15 - Updated: 2026-07-14 23:17
    Summary
    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.
    Impacted products
    Vendor Product Version
    gov.uk govuk_tech_docs *

    {
      "affected": [
        {
          "affectedData": [
            {
              "collectionURL": "https://rubygems.org",
              "defaultStatus": "unaffected",
              "packageName": "govuk_tech_docs",
              "packageURL": "pkg:gem/govuk_tech_docs",
              "versions": [
                {
                  "lessThan": "3.3.1",
                  "status": "affected",
                  "version": "2.0.2",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "source": "disclosure@vulncheck.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:gov.uk:govuk_tech_docs:*:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "6D17958B-199F-4DC7-B7A3-2A1D07C4BDA7",
                  "versionEndExcluding": "3.3.1",
                  "versionStartIncluding": "2.0.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "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\u0027s browser if a malicious search result is displayed on the search page."
        },
        {
          "lang": "es",
          "value": "Las versiones de govuk_tech_docs desde la 2.0.2 hasta la 3.3.1 anteriores son afectados por una vulnerabilidad de cross site scripting. Se puede ejecutar JavaScript malicioso en el navegador del usuario si se muestra un resultado de b\u00fasqueda malicioso en la p\u00e1gina de b\u00fasqueda."
        }
      ],
      "id": "CVE-2024-22048",
      "lastModified": "2026-07-14T23:17:14.953",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 6.1,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 2.7,
            "source": "nvd@nist.gov",
            "type": "Primary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 6.1,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 2.7,
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2024-22048",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2024-03-13T18:55:05.958271Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2024-01-04T21:15:09.940",
      "references": [
        {
          "source": "disclosure@vulncheck.com",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://github.com/advisories/GHSA-x2xw-hw8g-6773"
        },
        {
          "source": "disclosure@vulncheck.com",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://github.com/alphagov/tech-docs-gem/pull/323"
        },
        {
          "source": "disclosure@vulncheck.com",
          "tags": [
            "Patch",
            "Release Notes"
          ],
          "url": "https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1"
        },
        {
          "source": "disclosure@vulncheck.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773"
        },
        {
          "source": "disclosure@vulncheck.com",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://github.com/advisories/GHSA-x2xw-hw8g-6773"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://github.com/alphagov/tech-docs-gem/pull/323"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Release Notes"
          ],
          "url": "https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-x2xw-hw8g-6773"
        }
      ],
      "sourceIdentifier": "disclosure@vulncheck.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-79"
            }
          ],
          "source": "disclosure@vulncheck.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-79"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-79"
            }
          ],
          "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "type": "Secondary"
        }
      ]
    }

    CVE-2024-22048 (GCVE-0-2024-22048)

    Vulnerability from nvd – Published: 2024-01-04 20:39 – Updated: 2026-11-08 13:59
    VLAI
    Title
    govuk_tech_docs XSS Vulnerability
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-03-13 18:55 UTC
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 85/100 over 9472 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Affected: 2.0.2 , < 3.3.1 (semver)
        cpe:2.3:a:gov.uk:govuk_tech_docs:*:*:*:*:*:ruby:*:*
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-01T22:35:34.627Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "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"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "NONE",
                  "baseScore": 6.1,
                  "baseSeverity": "MEDIUM",
                  "confidentialityImpact": "LOW",
                  "integrityImpact": "LOW",
                  "privilegesRequired": "NONE",
                  "scope": "CHANGED",
                  "userInteraction": "REQUIRED",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-22048",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-13T18:55:05.958271Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-79",
                    "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-06-04T21:13:59.263Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://rubygems.org",
              "defaultStatus": "unaffected",
              "packageName": "govuk_tech_docs",
              "packageURL": "pkg:gem/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": "\u003cp\u003egovuk_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\u0027s browser if a malicious search result is displayed on the search page.\u003c/p\u003e"
                }
              ],
              "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\u0027s 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 (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-08T13:59:54.237Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "name": "GitHub Security Advisory (GHSA-x2xw-hw8g-6773)",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773"
            },
            {
              "tags": [
                "issue-tracking",
                "patch"
              ],
              "url": "https://github.com/alphagov/tech-docs-gem/pull/323"
            },
            {
              "name": "tech-docs-gem 3.3.1 Release Notes",
              "tags": [
                "related",
                "release-notes"
              ],
              "url": "https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1"
            },
            {
              "name": "GitHub Security Advisory (GHSA-x2xw-hw8g-6773)",
              "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"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2024-22048",
        "datePublished": "2024-01-04T20:39:59.670Z",
        "dateReserved": "2024-01-04T18:44:53.107Z",
        "dateUpdated": "2026-11-08T13:59:54.237Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2024-22048 (GCVE-0-2024-22048)

    Vulnerability from cvelistv5 – Published: 2024-01-04 20:39 – Updated: 2026-11-08 13:59
    VLAI
    Title
    govuk_tech_docs XSS Vulnerability
    Summary
    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.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-03-13 18:55 UTC
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 85/100 over 9472 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Affected: 2.0.2 , < 3.3.1 (semver)
        cpe:2.3:a:gov.uk:govuk_tech_docs:*:*:*:*:*:ruby:*:*
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-01T22:35:34.627Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "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"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "NONE",
                  "baseScore": 6.1,
                  "baseSeverity": "MEDIUM",
                  "confidentialityImpact": "LOW",
                  "integrityImpact": "LOW",
                  "privilegesRequired": "NONE",
                  "scope": "CHANGED",
                  "userInteraction": "REQUIRED",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-22048",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-13T18:55:05.958271Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-79",
                    "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-06-04T21:13:59.263Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://rubygems.org",
              "defaultStatus": "unaffected",
              "packageName": "govuk_tech_docs",
              "packageURL": "pkg:gem/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": "\u003cp\u003egovuk_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\u0027s browser if a malicious search result is displayed on the search page.\u003c/p\u003e"
                }
              ],
              "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\u0027s 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 (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-08T13:59:54.237Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "name": "GitHub Security Advisory (GHSA-x2xw-hw8g-6773)",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773"
            },
            {
              "tags": [
                "issue-tracking",
                "patch"
              ],
              "url": "https://github.com/alphagov/tech-docs-gem/pull/323"
            },
            {
              "name": "tech-docs-gem 3.3.1 Release Notes",
              "tags": [
                "related",
                "release-notes"
              ],
              "url": "https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1"
            },
            {
              "name": "GitHub Security Advisory (GHSA-x2xw-hw8g-6773)",
              "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"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2024-22048",
        "datePublished": "2024-01-04T20:39:59.670Z",
        "dateReserved": "2024-01-04T18:44:53.107Z",
        "dateUpdated": "2026-11-08T13:59:54.237Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }