Medium
Security advisory
OpenGrok 1.13.25 has a reflected Cross-Site Scripting (XSS) issue when producing the history view page. This happens through improper handling of path segments. The application reflects unsanitized user input into the HTML output.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-21572
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:34 UTC · Revision 1
Source evidence
OpenGrok 1.13.25 has a reflected Cross-Site Scripting (XSS) issue when producing the history view page. This happens through improper handling of path segments. The application reflects unsanitized user input into the HTML output.
osv:CVE-2025-21572
Complete source record
{
"id": "c574da99ce8dad4a6cea03c7ad8463c782a4d97cdf1dce37b72b05f78156c476",
"url": "https://osv.dev/vulnerability/CVE-2025-21572",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-21572",
"summary": "OpenGrok 1.13.25 has a reflected Cross-Site Scripting (XSS) issue when producing the history view page. This happens through improper handling of path segments. The application reflects unsanitized user input into the HTML output.",
"evidence": "osv:CVE-2025-21572",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-21572",
"aliases": [
"CVE-2025-21572"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/oracle/opengrok",
"type": "GIT",
"events": [
{
"introduced": "62198ef6720b72c3bcc86c6e449bca7b51b28bdb"
},
{
"last_affected": "62198ef6720b72c3bcc86c6e449bca7b51b28bdb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:oracle:opengrok:1.13.25:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.13.25"
},
{
"last_affected": "1.13.25"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.13.25"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21572.json"
}
}
],
"modified": "2026-10-28T02:30:29.193085936Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21572.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21572",
"https://www.oracle.com/security-alerts/all-oracle-cves-outside-other-oracle-public-documents.html"
],
"provider_metadata": {
"cna_assigner": "oracle",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.13.25"
},
{
"last_affected": "1.13.25"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21572.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21572",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495976,
"published_at": "2025-05-02T21:46:31.165+00:00"
}