CVE-2024-22048 json
govuk_tech_docs XSS Vulnerability
published 2023-04-11 3 y ago modified 2026-11-08 25 h ago also EUVD-2023-1419 , GHSA-x2xw-hw8g-6773
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
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.
Patch / fix
- rubygems govuk_tech_docs 3.3.1
- gov.uk govuk_tech_docs 3.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | govuk_tech_docs | >=2.0.2, <3.3.1 |
3.3.1 |
Classification
References
-
github.com
/alphagov/tech-docs-gem/pull/323
issue-tracking, patch, web, vendor-advisory
-
github.com
/advisories/GHSA-x2xw-hw8g-6773
vendor-advisory, third-party-advisory, patch
-
github.com
/alphagov/tech-docs-gem/releases/tag/v3.3.1
related, release-notes, web, patch
-
vulncheck.com
/advisories/vc-advisory-GHSA-x2xw-hw8g-6773
third-party-advisory, patch
-
github.com
/alphagov/tech-docs-gem/commit/a51c7058cec46bf2a4e25a1da62b14ac3fd46b53
web
-
github.com
/alphagov/tech-docs-gem/security/advisories/GHSA-x2xw-hw8g-6773
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-22048
advisory
-
github.com
/alphagov/tech-docs-gem
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/govuk_tech_docs/CVE-2024-22048.yml
web
Sources
- CVE List CVE-2024-22048
- GitHub Advisory GHSA-x2xw-hw8g-6773
- NVD CVE-2024-22048
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.