CVE-2025-21572: OpenGrok 1.13.25 has a reflected Cross-Site Scripting (XSS) issue when producing the history view page
CVE-2025-21572 is a medium-severity flaw (CVSS 6.1) affecting opengrok. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-05-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-21572?
opengrok: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-21572 being exploited?
CVE-2025-21572 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-21572 affect?
CVE-2025-21572 affects opengrok. Severity is medium (CVSS 6.1). 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.
How urgent is CVE-2025-21572?
Priority 25/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-30755 MEDIUM 6.1 DOWNGRADE OpenGrok 1.14.1 has a reflected Cross-Site Scripting (XSS) issue when producing the cross reference page