Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions http/cves/2026/CVE-2026-25892.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ http:
group: 1
regex:
- '<span class="version">([0-9.]+)'
- 'amp;version=([0-9.]+)'

matchers-condition: and
matchers:
Expand All @@ -62,6 +63,4 @@ http:

- type: dsl
dsl:
- 'compare_versions(version, ">=4.6.2")'
- 'compare_versions(version, "<=5.4.1")'
# digest: 490a0046304402200fda2fb27d16589057619f7d59c736168caa6f15f43069249886c0743164065b02202ae2271c1bc17de364d7e36b9949b21de56c0ce9c4953f2eac1d1fc0ee350deb:922c64590222798bb761d5b6d8e72950
- 'compare_versions(version, ">=4.6.2", "<=5.4.1")'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Version comparison syntax still incorrect - spaces missing around operators — The compare_versions DSL function syntax remains incorrect. Line 66 still uses ">=4.6.2" and "<=5.4.1" without spaces around the comparison operators. The correct syntax requires spaces: ">= 4.6.2" and "<= 5.4.1".

Suggested Fix
Change line 66 from:
  - 'compare_versions(version, ">=4.6.2", "<=5.4.1")'
To:
  - compare_versions(version, '>= 4.6.2', '<= 5.4.1')

Reference examples from the codebase:
- CVE-2016-10972.yaml line 39: compare_versions(version, '>= 6.4', '<= 6.7.1')
- CVE-2025-27915.yaml line 53: compare_versions(version, '>= 10.0.0', '< 10.0.13')
- CVE-2024-27443.yaml line 71: compare_versions(version, '>= 10.0.0', '< 10.0.7')
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@http/cves/2026/CVE-2026-25892.yaml` at line 66, the compare_versions
function call has incorrect syntax with missing spaces around the comparison
operators. Change the line from `- 'compare_versions(version, ">=4.6.2",
"<=5.4.1")'` to `- compare_versions(version, '>= 4.6.2', '<= 5.4.1')` to match
the standard syntax used throughout the nuclei-templates repository.

Loading