Lookup for vulnerable packages by Package URL.

Purlpkg:gem/govuk_tech_docs@3.3.1
Typegem
Namespace
Namegovuk_tech_docs
Version3.3.1
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version3.3.1
Latest_non_vulnerable_version3.3.1
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-6u9j-ete8-2ycd
vulnerability_id VCID-6u9j-ete8-2ycd
summary
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.
references
0
reference_url https://github.com/alphagov/tech-docs-gem
reference_id
reference_type
scores
url https://github.com/alphagov/tech-docs-gem
1
reference_url https://github.com/alphagov/tech-docs-gem/commit/a51c7058cec46bf2a4e25a1da62b14ac3fd46b53
reference_id
reference_type
scores
url https://github.com/alphagov/tech-docs-gem/commit/a51c7058cec46bf2a4e25a1da62b14ac3fd46b53
2
reference_url https://github.com/alphagov/tech-docs-gem/pull/323
reference_id
reference_type
scores
url https://github.com/alphagov/tech-docs-gem/pull/323
3
reference_url https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1
reference_id
reference_type
scores
url https://github.com/alphagov/tech-docs-gem/releases/tag/v3.3.1
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-22048
reference_id CVE-2024-22048
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2024-22048
5
reference_url https://github.com/rubysec/ruby-advisory-db/blob/master/gems/govuk_tech_docs/CVE-2024-22048.yml
reference_id CVE-2024-22048.YML
reference_type
scores
url https://github.com/rubysec/ruby-advisory-db/blob/master/gems/govuk_tech_docs/CVE-2024-22048.yml
6
reference_url https://github.com/advisories/GHSA-x2xw-hw8g-6773
reference_id GHSA-x2xw-hw8g-6773
reference_type
scores
url https://github.com/advisories/GHSA-x2xw-hw8g-6773
7
reference_url https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773
reference_id GHSA-x2xw-hw8g-6773
reference_type
scores
url https://github.com/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773
fixed_packages
0
url pkg:gem/govuk_tech_docs@3.3.1
purl pkg:gem/govuk_tech_docs@3.3.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:gem/govuk_tech_docs@3.3.1
aliases CVE-2024-22048, GHSA-x2xw-hw8g-6773, GMS-2023-1026
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-6u9j-ete8-2ycd
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:gem/govuk_tech_docs@3.3.1