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

13 de jan. de 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

18 de dez. de 2025

Vulnerability discovered

26 de dez. de 2025

Vendor contacted

26 de dez. de 2025

Vendor replied

13 de jan. de 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.

As soluções da Fluid Attacks permitem que as organizações identifiquem, priorizem e corrijam vulnerabilidades em seus softwares ao longo do SDLC. Com o apoio de IA, ferramentas automatizadas e pentesters, a Fluid Attacks acelera a mitigação da exposição ao risco das empresas e fortalece sua postura de cibersegurança.

Consulta IA sobre Fluid Attacks

Assine nossa newsletter

Mantenha-se atualizado sobre nossos próximos eventos e os últimos posts do blog, advisories e outros recursos interessantes.

As soluções da Fluid Attacks permitem que as organizações identifiquem, priorizem e corrijam vulnerabilidades em seus softwares ao longo do SDLC. Com o apoio de IA, ferramentas automatizadas e pentesters, a Fluid Attacks acelera a mitigação da exposição ao risco das empresas e fortalece sua postura de cibersegurança.

Assine nossa newsletter

Mantenha-se atualizado sobre nossos próximos eventos e os últimos posts do blog, advisories e outros recursos interessantes.

Mantenha-se atualizado sobre nossos próximos eventos e os últimos posts do blog, advisories e outros recursos interessantes.

As soluções da Fluid Attacks permitem que as organizações identifiquem, priorizem e corrijam vulnerabilidades em seus softwares ao longo do SDLC. Com o apoio de IA, ferramentas automatizadas e pentesters, a Fluid Attacks acelera a mitigação da exposição ao risco das empresas e fortalece sua postura de cibersegurança.

Assine nossa newsletter

Mantenha-se atualizado sobre nossos próximos eventos e os últimos posts do blog, advisories e outros recursos interessantes.

Mantenha-se atualizado sobre nossos próximos eventos e os últimos posts do blog, advisories e outros recursos interessantes.