Search for packages
| purl | pkg:gem/govuk_tech_docs@2.0.2 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-6u9j-ete8-2ycd
Aliases: CVE-2024-22048 GHSA-x2xw-hw8g-6773 GMS-2023-1026 |
govuk_tech_docs vulnerable to unescaped HTML on search results page Pages that are indexed in search results have their entire contents indexed, including any HTML code snippets. These HTML snippets would appear in the search results unsanitised, so it was possible to render arbitrary HTML or run arbitrary scripts. This is a low risk security issue; to exploit it, an attacker would need to find a way of committing malicious code to a page indexed by a site that uses tech-docs-gem (which are typically not editable by untrusted users). Their code would also be limited by the relatively short length that's rendered in the corresponding search result. Nevertheless, the XSS would then be triggerable by visiting a pre-constructed URL (/search/index.html?q=some+search+term), which users could be tricked into clicking on through social engineering. |
Affected by 0 other vulnerabilities. |
|
VCID-kuf5-26ar-h7fq
Aliases: GHSA-4mvm-xh8j-fv27 |
Duplicate Advisory: govuk_tech_docs vulnerable to unescaped HTML on search results page | There are no reported fixed by versions. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| This package is not known to fix vulnerabilities. | ||
| Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
|---|---|---|---|---|---|
| 2026-05-31T10:07:57.203885+00:00 | Ruby Importer | Affected by | VCID-6u9j-ete8-2ycd | https://github.com/rubysec/ruby-advisory-db/blob/master/gems/govuk_tech_docs/CVE-2024-22048.yml | 38.6.0 |
| 2026-05-31T01:01:44.366521+00:00 | GHSA Importer | Affected by | VCID-kuf5-26ar-h7fq | https://github.com/advisories/GHSA-4mvm-xh8j-fv27 | 38.6.0 |
| 2026-05-30T21:00:17.011413+00:00 | GitLab Importer | Affected by | VCID-6u9j-ete8-2ycd | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/govuk_tech_docs/CVE-2024-22048.yml | 38.6.0 |